20260620_031012.392 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.393 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.393 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.394 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDYtMjBUMDM6MTA6MTIuMzkzWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZTU0YmMzM2ItZWM0My00YzdkLWJmYTAtMTJhMGE0YTc5YTBmIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwNjoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA2OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMjBUMDQ6MTA6MTIuMzY4WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260620_031012.394 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.393Z", "policies_count": 4, "update_id": "e54bc33b-ec43-4c7d-bfa0-12a0a4a79a0f"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.394 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.393Z", "policies_count": 4, "update_id": "e54bc33b-ec43-4c7d-bfa0-12a0a4a79a0f"}} 20260620_031012.394 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260620_031012.395 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20260620_031012.395 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260620_031012.395 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_not_only_config", "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.393Z", "policies_count": 4, "update_id": "e54bc33b-ec43-4c7d-bfa0-12a0a4a79a0f"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.395 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260620_031012.396 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20260620_031012.396 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zOTZaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIwYWI1YmNkNC0zZjMzLTQwNTMtYWY1Zi00NWMxZGQyMTc0MjkifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA0OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA2OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA0OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260620_031012.396 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.397 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_not_only_config", "policies_event": {"action": "updated", "timestamp": "2026-06-20T03:10:12.396Z", "policies_count": 4, "update_id": "0ab5bcd4-3f33-4053-af5f-45c1dd217429"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.397 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260620_031012.397 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20260620_031012.397 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260620_031012.397 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260620_031012.398 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260620_031012.398 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260620_031012.398 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260620_031012.398 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.408 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260620_031012.409 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.409 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/"}}] 20260620_031012.409 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.409 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.410 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.410 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.417 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 20260620_031012.417 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.420 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260620_031012.421 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.421 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/"}}] 20260620_031012.421 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.421 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.422 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.422 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.429 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.430 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.430 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.431 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDYtMjBUMDM6MTA6MTIuNDMxWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZjk1ZTNhZjktOTI0Yi00Yjc3LTk3NjgtZWE4OTQ1MTdlZDI0In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwNjoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA2OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMjBUMDQ6MTA6MTIuMzY4WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260620_031012.431 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.431Z", "policies_count": 4, "update_id": "f95e3af9-924b-4b77-9768-ea894517ed24"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.432 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.431Z", "policies_count": 4, "update_id": "f95e3af9-924b-4b77-9768-ea894517ed24"}} 20260620_031012.432 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260620_031012.432 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.442 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.443 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.443 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.443 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDYtMjBUMDM6MTA6MTIuNDQzWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOWNlOGY3M2MtYTAwYi00NWQ0LThlMmItYTA0Zjk3ZDAwMzM1In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwNjoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA2OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMjBUMDQ6MTA6MTIuMzY4WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260620_031012.444 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.443Z", "policies_count": 4, "update_id": "9ce8f73c-a00b-45d4-8e2b-a04f97d00335"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.444 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.443Z", "policies_count": 4, "update_id": "9ce8f73c-a00b-45d4-8e2b-a04f97d00335"}} 20260620_031012.444 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260620_031012.444 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260620_031012.444 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260620_031012.445 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260620_031012.445 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260620_031012.445 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260620_031012.445 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260620_031012.445 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}, "policy_persistent": false} 20260620_031012.445 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false} 20260620_031012.445 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.456 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.457 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.457 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.457 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDYtMjBUMDM6MTA6MTIuNDU3WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYjg2ZGY1NTktNTMwYi00OTk2LWI2Y2YtZmU4YjE5OWNlNzQ2In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwNjoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA2OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMjBUMDQ6MTA6MTIuMzY4WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260620_031012.458 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.457Z", "policies_count": 4, "update_id": "b86df559-530b-4996-b6cf-fe8b199ce746"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.458 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.457Z", "policies_count": 4, "update_id": "b86df559-530b-4996-b6cf-fe8b199ce746"}} 20260620_031012.458 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260620_031012.458 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20260620_031012.458 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260620_031012.459 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.457Z", "policies_count": 4, "update_id": "b86df559-530b-4996-b6cf-fe8b199ce746"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.459 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260620_031012.459 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20260620_031012.460 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi40NTlaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJkOWE0MmQwMi00ZTIzLTQzOTQtYjQyZC1hZGU0YzI5NTM5ZjUifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA0OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA2OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA0OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260620_031012.460 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.461 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2026-06-20T03:10:12.459Z", "policies_count": 4, "update_id": "d9a42d02-4e23-4394-b42d-ade4c29539f5"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.461 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260620_031012.461 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20260620_031012.461 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260620_031012.461 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260620_031012.462 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260620_031012.462 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260620_031012.462 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260620_031012.462 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.477 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260620_031012.478 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.478 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.478 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.478 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.479 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.486 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.487 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.487 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.488 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDYtMjBUMDM6MTA6MTIuNDg3WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNDZlODBlNTUtYzMwOS00YzQ0LTk4ZjctMmE2NmJhODgzYzM0In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwNjoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA2OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMjBUMDQ6MTA6MTIuMzY4WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260620_031012.488 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.487Z", "policies_count": 4, "update_id": "46e80e55-c309-4c44-98f7-2a66ba883c34"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.488 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.487Z", "policies_count": 4, "update_id": "46e80e55-c309-4c44-98f7-2a66ba883c34"}} 20260620_031012.489 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260620_031012.489 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20260620_031012.489 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260620_031012.489 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.487Z", "policies_count": 4, "update_id": "46e80e55-c309-4c44-98f7-2a66ba883c34"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.490 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260620_031012.490 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20260620_031012.490 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi40OTBaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJjYjVmZTg1Ny00MmFiLTRiNjAtODViMC05ZDM3YmJhNjNiNWIifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogWyJkYW1hZ2VkIGNvbmZpZyJdLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA2OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJub25lIjogbnVsbCwgInVuZXhwZWN0ZWQiOiAiZm9vIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260620_031012.491 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.491 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"action": "updated", "timestamp": "2026-06-20T03:10:12.490Z", "policies_count": 4, "update_id": "cb5fe857-42ab-4b60-85b0-9d37bba63b5b"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.491 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260620_031012.491 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20260620_031012.492 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260620_031012.492 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260620_031012.492 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260620_031012.492 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260620_031012.492 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260620_031012.492 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.508 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260620_031012.508 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.509 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260620_031012.509 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.509 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.509 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.509 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.517 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.518 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.518 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.519 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDYtMjBUMDM6MTA6MTIuNTE5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMzdhNjU4MjgtMmRjYy00YmE0LTkwY2UtZWFjZDFjMTljYWQ0In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwNjoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA2OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMjBUMDQ6MTA6MTIuMzY4WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260620_031012.519 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.519Z", "policies_count": 4, "update_id": "37a65828-2dcc-4ba4-90ce-eacd1c19cad4"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.519 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.519Z", "policies_count": 4, "update_id": "37a65828-2dcc-4ba4-90ce-eacd1c19cad4"}} 20260620_031012.520 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260620_031012.520 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.520 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}] 20260620_031012.521 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.519Z", "policies_count": 4, "update_id": "37a65828-2dcc-4ba4-90ce-eacd1c19cad4"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.521 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}, removed_policies: ["<<>>"] 20260620_031012.521 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}} 20260620_031012.521 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}], "duplicate": []} 20260620_031012.522 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.519Z", "policies_count": 4, "update_id": "37a65828-2dcc-4ba4-90ce-eacd1c19cad4"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.522 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.519Z", "policies_count": 4, "update_id": "37a65828-2dcc-4ba4-90ce-eacd1c19cad4"}} 20260620_031012.522 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260620_031012.522 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.523 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.539 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.540 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.540 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.540 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDYtMjBUMDM6MTA6MTIuNTQwWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZGUzYTI0OGQtOGFlZS00Nzk5LTljZmYtNTk4MGFjZTU3ODMzIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwNjoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA2OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMjBUMDQ6MTA6MTIuMzY4WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260620_031012.541 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.540Z", "policies_count": 4, "update_id": "de3a248d-8aee-4799-9cff-5980ace57833"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.541 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.540Z", "policies_count": 4, "update_id": "de3a248d-8aee-4799-9cff-5980ace57833"}} 20260620_031012.541 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260620_031012.541 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_delete", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.540Z", "policies_count": 4, "update_id": "de3a248d-8aee-4799-9cff-5980ace57833"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.542 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/"}}] 20260620_031012.542 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.542 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.542 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_delete", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.540Z", "policies_count": 4, "update_id": "de3a248d-8aee-4799-9cff-5980ace57833"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.543 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.557 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260620_031012.557 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.557 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/"}}] 20260620_031012.557 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.558 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.558 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.558 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.566 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.567 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.567 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.567 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDYtMjBUMDM6MTA6MTIuNTY3WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNDU0YWZmZTItODQ2Yy00NDM3LTg5OTUtNTQyMjJiOWExYTdlIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwNjoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA2OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMjBUMDQ6MTA6MTIuMzY4WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260620_031012.568 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.567Z", "policies_count": 4, "update_id": "454affe2-846c-4437-8995-54222b9a1a7e"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.568 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.567Z", "policies_count": 4, "update_id": "454affe2-846c-4437-8995-54222b9a1a7e"}} 20260620_031012.568 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260620_031012.569 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.567Z", "policies_count": 4, "update_id": "454affe2-846c-4437-8995-54222b9a1a7e"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.569 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260620_031012.570 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260620_031012.570 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi41NzBaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI3OTNkMTEwMS1jZmVjLTRhY2UtYTA5Mi1lOTM4NzIwOGM5NjMifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260620_031012.570 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.571 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"action": "updated", "timestamp": "2026-06-20T03:10:12.570Z", "policies_count": 0, "update_id": "793d1101-cfec-4ace-a092-e9387208c963"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.571 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_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20260620_031012.571 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20260620_031012.571 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260620_031012.572 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"action": "updated", "timestamp": "2026-06-20T03:10:12.570Z", "policies_count": 0, "update_id": "793d1101-cfec-4ace-a092-e9387208c963"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.572 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260620_031012.572 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20260620_031012.572 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi41NzJaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICJiY2Q5NTY2MC0yZDUxLTQ4MTQtOGQ2ZC0wMDM4ZTdjOTgxYmYifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA0OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA0OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260620_031012.573 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.573 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"action": "updated", "timestamp": "2026-06-20T03:10:12.572Z", "policies_count": 2, "update_id": "bcd95660-2d51-4814-8d6d-0038e7c981bf"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.573 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260620_031012.573 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20260620_031012.574 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260620_031012.574 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.593 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.594 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.595 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.595 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDYtMjBUMDM6MTA6MTIuNTk1WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMWI2ZjY2NTMtN2UzNC00MjMxLThkNmYtNzEyODg5MzgyYWM2In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwNjoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA2OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMjBUMDQ6MTA6MTIuMzY4WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260620_031012.595 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.595Z", "policies_count": 4, "update_id": "1b6f6653-7e34-4231-8d6f-712889382ac6"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.596 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.595Z", "policies_count": 4, "update_id": "1b6f6653-7e34-4231-8d6f-712889382ac6"}} 20260620_031012.596 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260620_031012.596 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.595Z", "policies_count": 4, "update_id": "1b6f6653-7e34-4231-8d6f-712889382ac6"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.597 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260620_031012.597 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260620_031012.597 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi41OTdaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJjZTJmMTQwNC03NjBmLTRmNmQtODc2Yi02OTZmZmRjZDJhM2YifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260620_031012.598 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.598 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2026-06-20T03:10:12.597Z", "policies_count": 0, "update_id": "ce2f1404-760f-4f6d-876b-696ffdcd2a3f"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.598 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20260620_031012.598 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260620_031012.599 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2026-06-20T03:10:12.597Z", "policies_count": 0, "update_id": "ce2f1404-760f-4f6d-876b-696ffdcd2a3f"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.599 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260620_031012.599 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20260620_031012.599 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi41OTlaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICI4OTM4OGUzNS1hMWEyLTRlZGMtOWQzMS03MjIwZDE1Mjc3ZTIifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA0OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA0OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260620_031012.600 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.600 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2026-06-20T03:10:12.599Z", "policies_count": 2, "update_id": "89388e35-a1a2-4edc-9d31-7220d15277e2"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.601 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260620_031012.601 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20260620_031012.601 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260620_031012.601 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.619 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.619 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.620 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.620 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.620 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260620_031012.620 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260620_031012.620 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.626 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260620_031012.627 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.627 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/"}}] 20260620_031012.627 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.627 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.628 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies_event": {}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.628 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.636 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.636 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.637 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.637 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDYtMjBUMDM6MTA6MTIuNjM3WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYTg2NTRmMTctODk2NS00YTU4LThkNDEtZTRjY2ZiODI3N2FmIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwNjoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA2OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMjBUMDQ6MTA6MTIuMzY4WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260620_031012.637 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.637Z", "policies_count": 4, "update_id": "a8654f17-8965-4a58-8d41-e4ccfb8277af"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.638 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.637Z", "policies_count": 4, "update_id": "a8654f17-8965-4a58-8d41-e4ccfb8277af"}} 20260620_031012.638 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260620_031012.638 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.637Z", "policies_count": 4, "update_id": "a8654f17-8965-4a58-8d41-e4ccfb8277af"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.639 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260620_031012.639 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260620_031012.639 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi42MzlaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI5ZTUxZTkxNS1iNjc3LTQwODUtOWJhMC0xYjVkOTg1MWRjODAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260620_031012.640 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.640 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2026-06-20T03:10:12.639Z", "policies_count": 0, "update_id": "9e51e915-b677-4085-9ba0-1b5d9851dc80"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.640 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20260620_031012.640 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2026-06-20T03:10:12.639Z", "policies_count": 0, "update_id": "9e51e915-b677-4085-9ba0-1b5d9851dc80"}} 20260620_031012.641 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.641 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.654 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 20260620_031012.654 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.657 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.657 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) 20260620_031012.657 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) 20260620_031012.658 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.662 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.663 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.663 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.663 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDYtMjBUMDM6MTA6MTIuNjYzWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMDVjZTg2YWYtOGE5NS00YjYzLTljZWEtNjNmYjM2NGQzMTNmIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwNjoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA2OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMjBUMDQ6MTA6MTIuMzY4WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260620_031012.664 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.663Z", "policies_count": 4, "update_id": "05ce86af-8a95-4b63-9cea-63fb364d313f"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.664 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.663Z", "policies_count": 4, "update_id": "05ce86af-8a95-4b63-9cea-63fb364d313f"}} 20260620_031012.664 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260620_031012.665 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.663Z", "policies_count": 4, "update_id": "05ce86af-8a95-4b63-9cea-63fb364d313f"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.665 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260620_031012.666 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260620_031012.666 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi42NjZaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI2NmMzYTQ1MS03MDA3LTRhYjUtYWViNy0zMjZlN2M2ZWMwZWQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260620_031012.666 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.667 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2026-06-20T03:10:12.666Z", "policies_count": 0, "update_id": "66c3a451-7007-4ab5-aeb7-326e7c6ec0ed"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.667 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2026-06-20T03:10:12.666Z", "policies_count": 0, "update_id": "66c3a451-7007-4ab5-aeb7-326e7c6ec0ed"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.667 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20260620_031012.667 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260620_031012.668 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2026-06-20T03:10:12.666Z", "policies_count": 0, "update_id": "66c3a451-7007-4ab5-aeb7-326e7c6ec0ed"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.668 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20260620_031012.668 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "policies_event": {"action": "updated", "timestamp": "2026-06-20T03:10:12.666Z", "policies_count": 0, "update_id": "66c3a451-7007-4ab5-aeb7-326e7c6ec0ed"}} 20260620_031012.668 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.669 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.687 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.688 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.689 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.689 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDYtMjBUMDM6MTA6MTIuNjg5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMjkyNTNjMGQtNjAzOS00NjA2LThiNTAtMmFjMjczNzMxMjJmIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwNjoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA2OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMjBUMDQ6MTA6MTIuMzY4WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260620_031012.690 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.689Z", "policies_count": 4, "update_id": "29253c0d-6039-4606-8b50-2ac27373122f"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.690 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.689Z", "policies_count": 4, "update_id": "29253c0d-6039-4606-8b50-2ac27373122f"}} 20260620_031012.690 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260620_031012.690 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_delete", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.689Z", "policies_count": 4, "update_id": "29253c0d-6039-4606-8b50-2ac27373122f"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.691 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/"}}] 20260620_031012.691 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.691 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.691 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_delete", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.689Z", "policies_count": 4, "update_id": "29253c0d-6039-4606-8b50-2ac27373122f"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.692 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.706 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.706 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.706 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.706 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.707 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260620_031012.707 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260620_031012.707 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.711 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.711 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260620_031012.711 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.711 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260620_031012.711 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.716 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.717 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260620_031012.717 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.718 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDYtMjBUMDM6MTA6MTIuNzE3WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYWQ2OThmNzEtYjU3Yi00ZDRhLWI0N2MtYjI3ZDgzMWFjYWIxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwNjoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA2OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDYtMjBUMDQ6MTA6MTIuMzY4WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0ifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260620_031012.718 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.717Z", "policies_count": 4, "update_id": "ad698f71-b57b-4d4a-b47c-b27d831acab1"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.718 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.717Z", "policies_count": 4, "update_id": "ad698f71-b57b-4d4a-b47c-b27d831acab1"}} 20260620_031012.719 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20260620_031012.719 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}] 20260620_031012.719 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260620_031012.719 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"action": "gathered", "timestamp": "2026-06-20T03:10:12.717Z", "policies_count": 4, "update_id": "ad698f71-b57b-4d4a-b47c-b27d831acab1"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.720 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260620_031012.720 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}} 20260620_031012.720 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi43MjBaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJlZjFiZGNhZC0zNzVmLTRhZjYtYWE0YS1hOWEzOWI2ZDgyODUifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA0OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA2OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNi0yMFQwMzoxMDoxMi4zNjhaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA2LTIwVDA0OjEwOjEyLjM2OFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260620_031012.721 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"} 20260620_031012.721 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "property": null, "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_updated_ts": "2026-06-20T07:10:12.368Z", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "property": null, "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}}}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false}}, "exe_task": "node_configure", "application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "policies_event": {"action": "updated", "timestamp": "2026-06-20T03:10:12.720Z", "policies_count": 4, "update_id": "ef1bdcad-375f-4af6-aa4a-a9a39b6d8285"}}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.721 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260620_031012.722 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": false} 20260620_031012.722 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_ts": "2026-06-20T04:10:12.368Z", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "property": null, "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260620_031012.722 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260620_031012.722 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260620_031012.722 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "property": null, "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}}, "policy_persistent": true} 20260620_031012.722 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2026-06-20T06:10:12.368Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20260620_031012.723 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260620_031012.737 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"retry_number": null, "name": null, "max_retries": null}, "task_name": null, "task_id": null, "instance": {"relationships": [{"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_updated_ts": "2026-06-20T05:10:12.368Z", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "property": null, "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-06-20T03:10:12.368Z", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "workflow_id": null, "type": "node-instance", "task_queue": null, "task_target": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id"} 20260620_031012.738 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) 20260620_031012.738 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) 20260620_031012.738 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear