20260516_031010.529 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.530 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.530 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.531 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNzQ1MjZlNDYtMzk5NS00MDQ5LTk0NjMtZmU3NDZhY2RhYjljIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjUzMVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDM6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260516_031010.531 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "74526e46-3995-4049-9463-fe746acdab9c", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.531Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.532 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "74526e46-3995-4049-9463-fe746acdab9c", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.531Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"} 20260516_031010.532 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260516_031010.532 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "74526e46-3995-4049-9463-fe746acdab9c", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.531Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.532 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20260516_031010.533 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.533 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.533 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "74526e46-3995-4049-9463-fe746acdab9c", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.531Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.533 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.542 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.542 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.542 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.542 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.542 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}} 20260516_031010.543 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260516_031010.543 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.547 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 20260516_031010.547 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.551 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.552 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.552 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.552 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNzE3NTJkYzgtNzlhNC00YTFiLWEwZWEtNjczMmVjNmVhYTJjIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjU1MloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDM6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260516_031010.553 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "71752dc8-79a4-4a1b-a0ea-6732ec6eaa2c", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.552Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.553 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "71752dc8-79a4-4a1b-a0ea-6732ec6eaa2c", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.552Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"} 20260516_031010.553 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260516_031010.553 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "71752dc8-79a4-4a1b-a0ea-6732ec6eaa2c", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.552Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.554 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260516_031010.554 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260516_031010.554 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZGZjZTY5YmMtMjUxMi00NTRiLWI0NjctNGU2MGMyMjFiYTBmIiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjU1NFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20260516_031010.555 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.555 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "dfce69bc-2512-454b-b467-4e60c221ba0f", "policies_count": 0, "timestamp": "2026-05-16T03:10:10.554Z", "action": "updated"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.555 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260516_031010.556 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260516_031010.556 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "dfce69bc-2512-454b-b467-4e60c221ba0f", "policies_count": 0, "timestamp": "2026-05-16T03:10:10.554Z", "action": "updated"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.556 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260516_031010.557 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260516_031010.557 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOWU1MzA2YjAtN2I4NS00YzdjLTkyMTYtYWRkMzNjZmM2NzJjIiwgInBvbGljaWVzX2NvdW50IjogMiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjU1N1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260516_031010.557 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.558 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "9e5306b0-7b85-4c7c-9216-add33cfc672c", "policies_count": 2, "timestamp": "2026-05-16T03:10:10.557Z", "action": "updated"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.558 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260516_031010.558 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260516_031010.558 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260516_031010.558 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.577 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260516_031010.578 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.578 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260516_031010.578 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.579 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.579 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.579 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.588 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.589 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.589 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.590 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiODQyYmEwM2UtZDYxNy00ZGI3LTg4YmMtMGNjM2FkZGVmYzJhIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjU5MFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDM6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260516_031010.590 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "842ba03e-d617-4db7-88bc-0cc3addefc2a", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.590Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.590 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "842ba03e-d617-4db7-88bc-0cc3addefc2a", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.590Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"} 20260516_031010.591 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260516_031010.591 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260516_031010.591 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260516_031010.591 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "842ba03e-d617-4db7-88bc-0cc3addefc2a", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.590Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.592 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260516_031010.592 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260516_031010.592 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMWVmOTM4MmQtZWNiNC00Y2E0LWI0MTMtYjUwMWUwZWE0ZTY4IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjU5MloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDM6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260516_031010.593 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.593 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "1ef9382d-ecb4-4ca4-b413-b501e0ea4e68", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.592Z", "action": "updated"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.593 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260516_031010.594 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260516_031010.594 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260516_031010.594 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260516_031010.594 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260516_031010.594 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260516_031010.594 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260516_031010.595 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.611 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260516_031010.611 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.612 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260516_031010.612 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.612 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.612 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.612 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.620 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.621 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.621 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.622 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZDM5NmU3NWYtYjQwNS00ODlkLTg5NDUtODMxYjg3MDRmOTUxIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjYyMloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDM6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260516_031010.622 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "d396e75f-b405-489d-8945-831b8704f951", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.622Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.623 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "d396e75f-b405-489d-8945-831b8704f951", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.622Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"} 20260516_031010.623 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260516_031010.623 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "d396e75f-b405-489d-8945-831b8704f951", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.622Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.623 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260516_031010.624 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260516_031010.624 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMDUwYWRjZDAtMTFlOC00ZDBhLTlkMWQtZmY2NmI3MDZlNjJlIiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjYyNFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20260516_031010.624 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.625 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "050adcd0-11e8-4d0a-9d1d-ff66b706e62e", "policies_count": 0, "timestamp": "2026-05-16T03:10:10.624Z", "action": "updated"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.625 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20260516_031010.625 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "050adcd0-11e8-4d0a-9d1d-ff66b706e62e", "policies_count": 0, "timestamp": "2026-05-16T03:10:10.624Z", "action": "updated"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"} 20260516_031010.625 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.626 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.639 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 20260516_031010.639 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.642 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260516_031010.643 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.643 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.643 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.644 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.644 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.651 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260516_031010.652 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.652 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260516_031010.652 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.652 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.653 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.653 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.660 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260516_031010.661 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.661 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260516_031010.661 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.661 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.661 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.662 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.669 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.669 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) 20260516_031010.669 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) 20260516_031010.669 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.674 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.675 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.675 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.676 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZmU4ZDY1NmItMzJiYS00N2Y4LWFmOGUtOTAzOTBiMjU1MzQ5IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjY3NVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDM6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260516_031010.676 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "fe8d656b-32ba-47f8-af8e-90390b255349", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.675Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.676 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "fe8d656b-32ba-47f8-af8e-90390b255349", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.675Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"} 20260516_031010.676 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260516_031010.677 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260516_031010.677 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260516_031010.677 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "fe8d656b-32ba-47f8-af8e-90390b255349", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.675Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.677 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260516_031010.678 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260516_031010.678 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMDQ2MmEzMTYtZjZhMC00MDY3LWExNWQtYWVhMDZmZGYyMGZkIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjY3OFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDM6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260516_031010.679 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.679 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "0462a316-f6a0-4067-a15d-aea06fdf20fd", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.678Z", "action": "updated"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.679 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260516_031010.680 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260516_031010.680 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260516_031010.680 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260516_031010.680 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260516_031010.680 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260516_031010.680 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260516_031010.681 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.696 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.697 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.697 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.698 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMTJiZmVkZTQtMGI0NS00MmEwLWI3YmYtNjMxMGI3YWRkMWQyIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjY5OFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDM6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260516_031010.698 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "12bfede4-0b45-42a0-b7bf-6310b7add1d2", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.698Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.698 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "12bfede4-0b45-42a0-b7bf-6310b7add1d2", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.698Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"} 20260516_031010.699 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260516_031010.699 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260516_031010.699 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260516_031010.699 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260516_031010.699 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260516_031010.699 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260516_031010.700 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260516_031010.700 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20260516_031010.700 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20260516_031010.700 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.709 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.709 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.710 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.710 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.710 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}} 20260516_031010.710 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260516_031010.710 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.715 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.716 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.717 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.717 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMmZlZDU2OWMtNzA1ZC00MzQyLWFiZTItNjQ1NDVmZGJmNGJjIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjcxN1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDM6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260516_031010.717 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "2fed569c-705d-4342-abe2-64545fdbf4bc", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.717Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.718 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "2fed569c-705d-4342-abe2-64545fdbf4bc", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.717Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"} 20260516_031010.718 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260516_031010.718 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.726 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.726 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260516_031010.727 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.727 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260516_031010.727 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.733 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.734 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.734 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.734 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiN2VmOTgxZWQtZDc0Yi00ZTE4LTk5YTEtMWIzYWQzOWFlMTliIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjczNFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDM6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260516_031010.735 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "7ef981ed-d74b-4e18-99a1-1b3ad39ae19b", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.734Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.735 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "7ef981ed-d74b-4e18-99a1-1b3ad39ae19b", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.734Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"} 20260516_031010.735 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260516_031010.736 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "7ef981ed-d74b-4e18-99a1-1b3ad39ae19b", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.734Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.736 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260516_031010.736 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260516_031010.736 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYTQ1YWY2ZGEtMzY1Ny00OGIxLTlhNzQtOTRkNzI1ZGRhYjJkIiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjczNloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20260516_031010.737 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.737 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "a45af6da-3657-48b1-9a74-94d725ddab2d", "policies_count": 0, "timestamp": "2026-05-16T03:10:10.736Z", "action": "updated"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.738 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "a45af6da-3657-48b1-9a74-94d725ddab2d", "policies_count": 0, "timestamp": "2026-05-16T03:10:10.736Z", "action": "updated"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.738 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260516_031010.738 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260516_031010.739 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "a45af6da-3657-48b1-9a74-94d725ddab2d", "policies_count": 0, "timestamp": "2026-05-16T03:10:10.736Z", "action": "updated"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.739 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20260516_031010.739 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "a45af6da-3657-48b1-9a74-94d725ddab2d", "policies_count": 0, "timestamp": "2026-05-16T03:10:10.736Z", "action": "updated"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"} 20260516_031010.739 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.739 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.758 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.759 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.759 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.760 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZTY3ZjYzMjQtMDc3Ni00NGZiLTlmODYtOWY3ODllZmFkZjJjIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjc1OVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDM6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260516_031010.760 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "e67f6324-0776-44fb-9f86-9f789efadf2c", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.759Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.760 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "e67f6324-0776-44fb-9f86-9f789efadf2c", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.759Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"} 20260516_031010.760 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260516_031010.761 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": ["damaged config"], "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260516_031010.761 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260516_031010.761 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "e67f6324-0776-44fb-9f86-9f789efadf2c", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.759Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.761 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": ["damaged config"], "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260516_031010.762 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260516_031010.762 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZjAzZjVhNTktODljMS00YTNmLWExODktZTYwNjA1NGI1YTFmIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjc2MloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDM6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7Im5vbmUiOiBudWxsLCAidW5leHBlY3RlZCI6ICJmb28ifSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicHJvcGVydHkiOiBudWxsfQ=="}}] 20260516_031010.763 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.763 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": ["damaged config"], "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "f03f5a59-89c1-4a3f-a189-e606054b5a1f", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.762Z", "action": "updated"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.763 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260516_031010.763 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260516_031010.764 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": ["damaged config"], "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260516_031010.764 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260516_031010.764 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260516_031010.764 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260516_031010.764 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260516_031010.764 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.780 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.781 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.782 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.782 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMTMwZTZhNWMtM2RkMS00MjQyLWI4NGMtYWM0OWFlNDA3NWQ3IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjc4MloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDM6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260516_031010.783 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "130e6a5c-3dd1-4242-b84c-ac49ae4075d7", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.782Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.783 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "130e6a5c-3dd1-4242-b84c-ac49ae4075d7", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.782Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"} 20260516_031010.783 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260516_031010.783 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260516_031010.783 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260516_031010.784 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "130e6a5c-3dd1-4242-b84c-ac49ae4075d7", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.782Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.784 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260516_031010.784 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260516_031010.785 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZmEzYTk1OWQtNzM4ZC00NGI5LTk3MzAtZjZlMjIxMzU4MGZmIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjc4NVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDM6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260516_031010.785 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.786 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "fa3a959d-738d-44b9-9730-f6e2213580ff", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.785Z", "action": "updated"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.786 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260516_031010.786 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260516_031010.786 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260516_031010.787 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260516_031010.787 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260516_031010.787 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260516_031010.787 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260516_031010.787 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.804 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.805 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.806 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.806 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYzUwZGU3NDItOGUwYy00MjgwLTg1ZGUtOTM0YTY0YzE5YWU5IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjgwNloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDM6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260516_031010.807 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "c50de742-8e0c-4280-85de-934a64c19ae9", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.806Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.807 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "c50de742-8e0c-4280-85de-934a64c19ae9", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.806Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"} 20260516_031010.807 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260516_031010.807 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "c50de742-8e0c-4280-85de-934a64c19ae9", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.806Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.808 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20260516_031010.808 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.808 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.808 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "c50de742-8e0c-4280-85de-934a64c19ae9", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.806Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.809 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.823 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.824 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.825 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.825 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZTlmNGNiYjgtMTYzMy00MzU1LTg3YmYtN2I0NmFhMDIwZDIwIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjgyNVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDM6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260516_031010.825 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "e9f4cbb8-1633-4355-87bf-7b46aa020d20", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.825Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.826 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "e9f4cbb8-1633-4355-87bf-7b46aa020d20", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.825Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"} 20260516_031010.826 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260516_031010.826 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "e9f4cbb8-1633-4355-87bf-7b46aa020d20", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.825Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.827 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260516_031010.827 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260516_031010.827 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNzY3OWE2MWItYWFkYi00ZDEyLTk3YWMtYjNhOTU3ZTlmZjRmIiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjgyN1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20260516_031010.828 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.828 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "7679a61b-aadb-4d12-97ac-b3a957e9ff4f", "policies_count": 0, "timestamp": "2026-05-16T03:10:10.827Z", "action": "updated"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.828 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260516_031010.829 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260516_031010.829 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260516_031010.829 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "7679a61b-aadb-4d12-97ac-b3a957e9ff4f", "policies_count": 0, "timestamp": "2026-05-16T03:10:10.827Z", "action": "updated"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.829 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260516_031010.830 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260516_031010.830 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZjI2OWFjMjktYzM1Zi00OTg3LWIxNTgtNjA4NjI5ODQ4ZTM1IiwgInBvbGljaWVzX2NvdW50IjogMiwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjgzMFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20260516_031010.830 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.831 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "f269ac29-c35f-4987-b158-608629848e35", "policies_count": 2, "timestamp": "2026-05-16T03:10:10.830Z", "action": "updated"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.831 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260516_031010.831 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260516_031010.831 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260516_031010.831 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.851 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260516_031010.852 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.852 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20260516_031010.852 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.853 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.853 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.853 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.862 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.863 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260516_031010.864 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.864 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNGNhZTgyM2ItZGNkZS00ZDkzLTgwNTAtOTI0ZmRhZTNkN2FhIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTA1LTE2VDAzOjEwOjEwLjg2NFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDM6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTE2VDA2OjEwOjEwLjUwNVoiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDUtMTZUMDQ6MTA6MTAuNTA1WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260516_031010.864 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "4cae823b-dcde-4d93-8050-924fdae3d7aa", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.864Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.865 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "4cae823b-dcde-4d93-8050-924fdae3d7aa", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.864Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"} 20260516_031010.865 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260516_031010.865 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.865 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi_3"}] 20260516_031010.866 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "4cae823b-dcde-4d93-8050-924fdae3d7aa", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.864Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.866 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.4.xml", "property": null}, "policy_id": "monkeyed.Config_multi_2"}}}, "dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}}}}, removed_policies: ["<<>>"] 20260516_031010.867 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}} 20260516_031010.867 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach"}], "ignored": [{"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi_3"}], "duplicate": [], "unexpected": [{"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null}, "policy_id": "monkeyed.Config_peach_2"}]} 20260516_031010.867 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_updated_from_ver": "3", "policy_hello": "sit"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-05-16T07:10:10.505Z", "policy_updated_from_ver": "4", "policy_hello": "amet"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "4cae823b-dcde-4d93-8050-924fdae3d7aa", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.864Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.867 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_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"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"update_id": "4cae823b-dcde-4d93-8050-924fdae3d7aa", "policies_count": 4, "timestamp": "2026-05-16T03:10:10.864Z", "action": "gathered"}, "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}, "exe_task": "node_configure"} 20260516_031010.868 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_updated_ts": "2026-05-16T03:10:10.505Z", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "type": "JSON", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_updated_ts": "2026-05-16T06:10:10.505Z", "policy_hello": "sit"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "type": "JSON", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_updated_ts": "2026-05-16T04:10:10.505Z", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260516_031010.868 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"} 20260516_031010.868 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260516_031010.885 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "task_name": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-05-16T03:10:10.505Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "task_target": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-05-16T05:10:10.505Z", "policy_updated_from_ver": "2", "policy_hello": "dolor"}, "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "operation": {"max_retries": null, "name": null, "retry_number": null}} 20260516_031010.885 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) 20260516_031010.885 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) 20260516_031010.885 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear