20260307_070612.027 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.028 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.028 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.029 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDI4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNDQxOTI3ZDYtZmNjMS00MzllLWIxZDUtNGFiZDBkNzM2MmJiIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMTA6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QxMDowNjoxMi4wMDNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260307_070612.029 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.028Z", "policies_count": 4, "update_id": "441927d6-fcc1-439e-b1d5-4abd0d7362bb"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.029 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.028Z", "policies_count": 4, "update_id": "441927d6-fcc1-439e-b1d5-4abd0d7362bb"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20260307_070612.030 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}} 20260307_070612.030 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.028Z", "policies_count": 4, "update_id": "441927d6-fcc1-439e-b1d5-4abd0d7362bb"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.030 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach"] 20260307_070612.031 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260307_070612.031 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0wN1QwNzowNjoxMi4wMzFaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJjZWNlNDAxNi01NTllLTRhODMtOWU2My1kYjk4YWU1MjI2YTIifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260307_070612.031 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.032 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2026-03-07T07:06:12.031Z", "policies_count": 0, "update_id": "cece4016-559e-4a83-9e63-db98ae5226a2"}, "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}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.032 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2026-03-07T07:06:12.031Z", "policies_count": 0, "update_id": "cece4016-559e-4a83-9e63-db98ae5226a2"}, "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}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.032 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach"] 20260307_070612.032 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260307_070612.033 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2026-03-07T07:06:12.031Z", "policies_count": 0, "update_id": "cece4016-559e-4a83-9e63-db98ae5226a2"}, "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}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.033 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach'] 20260307_070612.033 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2026-03-07T07:06:12.031Z", "policies_count": 0, "update_id": "cece4016-559e-4a83-9e63-db98ae5226a2"}, "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}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"} 20260307_070612.033 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.033 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.044 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260307_070612.045 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.045 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/"}}] 20260307_070612.045 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.045 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.046 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.046 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.053 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260307_070612.054 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.054 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/"}}] 20260307_070612.054 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.055 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.055 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.055 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.063 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.064 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.064 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.064 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDY0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMmVmYzA1YmItYjcyNy00YTNiLTlhOWUtZGNhNGUyM2IzYWRkIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMTA6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QxMDowNjoxMi4wMDNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260307_070612.065 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.064Z", "policies_count": 4, "update_id": "2efc05bb-b727-4a3b-9a9e-dca4e23b3add"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.065 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.064Z", "policies_count": 4, "update_id": "2efc05bb-b727-4a3b-9a9e-dca4e23b3add"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20260307_070612.065 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}} 20260307_070612.066 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.064Z", "policies_count": 4, "update_id": "2efc05bb-b727-4a3b-9a9e-dca4e23b3add"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.066 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach"] 20260307_070612.066 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260307_070612.066 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0wN1QwNzowNjoxMi4wNjZaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI0MmMzNTgxNS03MGRlLTQ1MWEtODM0OS1lN2NjMTkwMjNkMzEifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260307_070612.067 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.067 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2026-03-07T07:06:12.066Z", "policies_count": 0, "update_id": "42c35815-70de-451a-8349-e7cc19023d31"}, "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}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.067 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}} 20260307_070612.068 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}] 20260307_070612.068 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260307_070612.068 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2026-03-07T07:06:12.066Z", "policies_count": 0, "update_id": "42c35815-70de-451a-8349-e7cc19023d31"}, "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}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.068 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260307_070612.069 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20260307_070612.069 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0wN1QwNzowNjoxMi4wNjlaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICJiYjZhZTc5ZS1jZjU4LTQ5NzMtODExOC1lNTY0MmEwYmY1ZDgifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260307_070612.069 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260307_070612.070 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2026-03-07T07:06:12.069Z", "policies_count": 2, "update_id": "bb6ae79e-cf58-4973-8118-e5642a0bf5d8"}, "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.070 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260307_070612.070 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.070 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.070 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.090 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.091 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.091 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.092 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDkxWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMzQ4MzZhNjgtYmZkZC00YWUyLWEwMTgtNTAwODg0NWI3NDcxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMTA6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QxMDowNjoxMi4wMDNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260307_070612.092 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.091Z", "policies_count": 4, "update_id": "34836a68-bfdd-4ae2-a018-5008845b7471"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.092 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.091Z", "policies_count": 4, "update_id": "34836a68-bfdd-4ae2-a018-5008845b7471"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20260307_070612.093 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}} 20260307_070612.093 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.091Z", "policies_count": 4, "update_id": "34836a68-bfdd-4ae2-a018-5008845b7471"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_delete"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.093 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/"}}] 20260307_070612.093 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.094 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.094 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.091Z", "policies_count": 4, "update_id": "34836a68-bfdd-4ae2-a018-5008845b7471"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_delete"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.094 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.108 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260307_070612.109 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.109 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/"}}] 20260307_070612.109 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.109 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.110 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.110 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.117 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.118 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.118 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.119 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMTE4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiN2U0NDlkNWEtMTQwZi00ZTIxLThjNDItNjhjZDczZjhkNWNkIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMTA6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QxMDowNjoxMi4wMDNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260307_070612.119 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.118Z", "policies_count": 4, "update_id": "7e449d5a-140f-4e21-8c42-68cd73f8d5cd"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.119 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.118Z", "policies_count": 4, "update_id": "7e449d5a-140f-4e21-8c42-68cd73f8d5cd"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20260307_070612.120 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}} 20260307_070612.120 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.118Z", "policies_count": 4, "update_id": "7e449d5a-140f-4e21-8c42-68cd73f8d5cd"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_delete"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.120 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/"}}] 20260307_070612.120 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.121 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.121 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.118Z", "policies_count": 4, "update_id": "7e449d5a-140f-4e21-8c42-68cd73f8d5cd"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_delete"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.121 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.135 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.136 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.136 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.137 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMTM3WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYTM3OWViY2ItOTQzZS00NzBiLTg2ODYtYjVlZTM0OGNiM2QzIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMTA6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QxMDowNjoxMi4wMDNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260307_070612.137 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.137Z", "policies_count": 4, "update_id": "a379ebcb-943e-470b-8686-b5ee348cb3d3"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.137 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.137Z", "policies_count": 4, "update_id": "a379ebcb-943e-470b-8686-b5ee348cb3d3"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20260307_070612.138 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}} 20260307_070612.138 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}] 20260307_070612.138 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260307_070612.138 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", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.137Z", "policies_count": 4, "update_id": "a379ebcb-943e-470b-8686-b5ee348cb3d3"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_not_only_config"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.139 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260307_070612.139 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20260307_070612.139 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0wN1QwNzowNjoxMi4xMzlaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI1ZGMwYWNiYy1iZWZmLTRkNzctYjU2MC1mN2NmYzlmMDFhMDgifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QxMDowNjoxMi4wMDNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20260307_070612.140 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.140 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", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2026-03-07T07:06:12.139Z", "policies_count": 4, "update_id": "5dc0acbc-beff-4d77-b560-f7cfc9f01a08"}, "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_not_only_config"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.140 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260307_070612.140 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.141 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.141 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.141 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}} 20260307_070612.141 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.141 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}} 20260307_070612.141 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.157 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.158 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.158 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.158 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMTU4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOWE4ZDZhNzYtNGY1Mi00ZTZjLTkzZWMtNTBlOWMzZTZiMWY1In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMTA6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QxMDowNjoxMi4wMDNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260307_070612.159 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.158Z", "policies_count": 4, "update_id": "9a8d6a76-4f52-4e6c-93ec-50e9c3e6b1f5"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.159 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.158Z", "policies_count": 4, "update_id": "9a8d6a76-4f52-4e6c-93ec-50e9c3e6b1f5"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20260307_070612.159 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}} 20260307_070612.159 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}] 20260307_070612.159 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260307_070612.160 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.158Z", "policies_count": 4, "update_id": "9a8d6a76-4f52-4e6c-93ec-50e9c3e6b1f5"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.160 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260307_070612.160 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20260307_070612.161 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0wN1QwNzowNjoxMi4xNjFaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI4YjVlMjk2MC1jZTllLTQzMTAtYTM0NC1iMjBlOTNiZjJlNWIifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QxMDowNjoxMi4wMDNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20260307_070612.161 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.162 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2026-03-07T07:06:12.161Z", "policies_count": 4, "update_id": "8b5e2960-ce9e-4310-a344-b20e93bf2e5b"}, "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.162 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260307_070612.162 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.162 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.162 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.163 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}} 20260307_070612.163 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.163 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}} 20260307_070612.163 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.178 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 20260307_070612.178 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.181 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260307_070612.182 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.182 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/"}}] 20260307_070612.182 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.182 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.183 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.183 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.190 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260307_070612.191 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.191 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.191 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.191 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.192 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.199 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260307_070612.199 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.200 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260307_070612.200 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.200 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.200 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.200 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.207 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.207 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.207 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.208 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.208 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260307_070612.208 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260307_070612.208 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.212 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.212 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-maven-clm-master/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) 20260307_070612.212 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) 20260307_070612.213 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.217 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.218 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.218 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.218 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMjE4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNzdkY2ZmYWEtMmE0OS00MTUwLWEyYjMtMzI4MTRhNzczYTUzIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMTA6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QxMDowNjoxMi4wMDNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260307_070612.219 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.218Z", "policies_count": 4, "update_id": "77dcffaa-2a49-4150-a2b3-32814a773a53"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.219 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.218Z", "policies_count": 4, "update_id": "77dcffaa-2a49-4150-a2b3-32814a773a53"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20260307_070612.219 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}} 20260307_070612.219 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.219 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}} 20260307_070612.220 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.220 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}} 20260307_070612.220 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.220 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}} 20260307_070612.220 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.220 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}} 20260307_070612.221 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.231 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.232 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.232 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.232 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMjMyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNTk5MjdlNmQtOWMxNC00NDM4LTg0YmUtNTdiOWFkZjg1N2QxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMTA6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QxMDowNjoxMi4wMDNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260307_070612.233 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.232Z", "policies_count": 4, "update_id": "59927e6d-9c14-4438-84be-57b9adf857d1"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.233 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.232Z", "policies_count": 4, "update_id": "59927e6d-9c14-4438-84be-57b9adf857d1"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20260307_070612.233 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}} 20260307_070612.233 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}] 20260307_070612.233 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260307_070612.234 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.232Z", "policies_count": 4, "update_id": "59927e6d-9c14-4438-84be-57b9adf857d1"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.234 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260307_070612.234 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20260307_070612.235 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0wN1QwNzowNjoxMi4yMzRaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJlMmExOWQwNC04ZWEzLTQ0ZGEtYjY3ZC0zNjUyM2U4NDgzNDMifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QxMDowNjoxMi4wMDNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20260307_070612.235 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.236 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2026-03-07T07:06:12.234Z", "policies_count": 4, "update_id": "e2a19d04-8ea3-44da-b67d-36523e848343"}, "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.236 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260307_070612.236 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.236 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.237 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.237 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}} 20260307_070612.237 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.237 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}} 20260307_070612.237 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.253 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.254 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.254 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.255 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMjU1WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiODFjZmMzZWItN2MxNi00ZGMyLTgzNzAtMTA0NjNiNzJlNTdmIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMTA6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QxMDowNjoxMi4wMDNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260307_070612.255 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.255Z", "policies_count": 4, "update_id": "81cfc3eb-7c16-4dc2-8370-10463b72e57f"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.255 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.255Z", "policies_count": 4, "update_id": "81cfc3eb-7c16-4dc2-8370-10463b72e57f"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20260307_070612.256 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}} 20260307_070612.256 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.265 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.266 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.266 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.266 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMjY2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOTJlMGMzYTctZDU5Ny00MmNiLTg4MWMtNmIyOTcxZmJjMzM0In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMTA6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QxMDowNjoxMi4wMDNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260307_070612.267 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.266Z", "policies_count": 4, "update_id": "92e0c3a7-d597-42cb-881c-6b2971fbc334"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.267 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.266Z", "policies_count": 4, "update_id": "92e0c3a7-d597-42cb-881c-6b2971fbc334"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20260307_070612.267 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}} 20260307_070612.268 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.266Z", "policies_count": 4, "update_id": "92e0c3a7-d597-42cb-881c-6b2971fbc334"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.268 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach"] 20260307_070612.268 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260307_070612.269 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0wN1QwNzowNjoxMi4yNjhaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI0ZjY5MTgzOS0zNTAxLTQ1OTUtYjIwYS0wNjIzZWEwMWUxOWEifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260307_070612.269 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.269 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2026-03-07T07:06:12.268Z", "policies_count": 0, "update_id": "4f691839-3501-4595-b20a-0623ea01e19a"}, "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}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.270 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach'] 20260307_070612.270 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2026-03-07T07:06:12.268Z", "policies_count": 0, "update_id": "4f691839-3501-4595-b20a-0623ea01e19a"}, "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}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"} 20260307_070612.270 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.270 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.284 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.285 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.285 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.286 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMjg1WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZGEzODk5Y2ItNDg1OS00YTNkLWJhYjgtMDQ2YTJkYWY5YjZlIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMTA6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QxMDowNjoxMi4wMDNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260307_070612.286 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.285Z", "policies_count": 4, "update_id": "da3899cb-4859-4a3d-bab8-046a2daf9b6e"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.286 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.285Z", "policies_count": 4, "update_id": "da3899cb-4859-4a3d-bab8-046a2daf9b6e"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20260307_070612.287 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}} 20260307_070612.287 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.287 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}] 20260307_070612.288 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.285Z", "policies_count": 4, "update_id": "da3899cb-4859-4a3d-bab8-046a2daf9b6e"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.288 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["<<>>"] 20260307_070612.288 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20260307_070612.288 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_3.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], "duplicate": [], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}]} 20260307_070612.289 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.285Z", "policies_count": 4, "update_id": "da3899cb-4859-4a3d-bab8-046a2daf9b6e"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.289 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.285Z", "policies_count": 4, "update_id": "da3899cb-4859-4a3d-bab8-046a2daf9b6e"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"} 20260307_070612.289 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}} 20260307_070612.289 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.289 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.305 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.305 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-maven-clm-master/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) 20260307_070612.305 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) 20260307_070612.305 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.308 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.308 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260307_070612.309 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.309 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260307_070612.309 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.313 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.313 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.313 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.314 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.314 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260307_070612.314 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260307_070612.314 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.319 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.320 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.320 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.320 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMzIwWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZjhkODU4OWUtYjNiZC00N2YxLTlkM2EtNjM1YjBhZWMwOGEyIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMTA6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QxMDowNjoxMi4wMDNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260307_070612.321 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.320Z", "policies_count": 4, "update_id": "f8d8589e-b3bd-47f1-9d3a-635b0aec08a2"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.321 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.320Z", "policies_count": 4, "update_id": "f8d8589e-b3bd-47f1-9d3a-635b0aec08a2"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20260307_070612.321 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}} 20260307_070612.321 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": ["damaged config"], "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}] 20260307_070612.322 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260307_070612.322 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.320Z", "policies_count": 4, "update_id": "f8d8589e-b3bd-47f1-9d3a-635b0aec08a2"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.322 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": ["damaged config"], "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"none": null, "unexpected": "foo"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260307_070612.322 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"none": null, "unexpected": "foo"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20260307_070612.323 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0wN1QwNzowNjoxMi4zMjNaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI0MWVjMjUyYy01NzExLTQxMjItYjRmMS01NzRiMmZlMDQxMzUifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QxMDowNjoxMi4wMDNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9LCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}] 20260307_070612.323 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.324 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2026-03-07T07:06:12.323Z", "policies_count": 4, "update_id": "41ec252c-5711-4122-b4f1-574b2fe04135"}, "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"none": null, "unexpected": "foo"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": ["damaged config"], "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.324 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260307_070612.324 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"none": null, "unexpected": "foo"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.324 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": ["damaged config"], "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.324 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.325 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}} 20260307_070612.325 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.325 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}} 20260307_070612.325 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.339 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 20260307_070612.339 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_070612.343 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.344 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_070612.344 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.345 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMzQ0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYjI2YmZlMjAtMjFjYS00YjFjLWFiZjYtYzcxMjJiMmE1MjJkIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMTA6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDc6MDY6MTIuMDAzWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QxMDowNjoxMi4wMDNaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260307_070612.345 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.344Z", "policies_count": 4, "update_id": "b26bfe20-21ca-4b1c-abf6-c7122b2a522d"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.345 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.344Z", "policies_count": 4, "update_id": "b26bfe20-21ca-4b1c-abf6-c7122b2a522d"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure"} 20260307_070612.346 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}} 20260307_070612.346 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2026-03-07T07:06:12.344Z", "policies_count": 4, "update_id": "b26bfe20-21ca-4b1c-abf6-c7122b2a522d"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2"}}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"responseAttributes": {}, "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi"}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both"}}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"responseAttributes": {}, "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "property": null, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach"}}}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.346 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach"] 20260307_070612.347 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260307_070612.347 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0wN1QwNzowNjoxMi4zNDdaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI1N2IzZTZmMy01Y2EwLTRkOTItOGEzZC1hM2MyNzg3ODU2NzMifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260307_070612.347 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"} 20260307_070612.348 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2026-03-07T07:06:12.347Z", "policies_count": 0, "update_id": "57b3e6f3-5ca0-4d92-8a3d-a3c278785673"}, "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}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.348 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}] 20260307_070612.348 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260307_070612.349 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "policy_hello": "Lorem", "updated_policy_id": "no_policy"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2026-03-07T07:06:12.347Z", "policies_count": 0, "update_id": "57b3e6f3-5ca0-4d92-8a3d-a3c278785673"}, "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}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.349 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}, removed_policies: ["monkeyed.Config_multi"] 20260307_070612.349 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}} 20260307_070612.349 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMy0wN1QwNzowNjoxMi4zNDlaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICIyNDU3MGZlYi1kZDg2LTQxYmItOWZiMS1iYjIxNjYwMTNjNzcifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA4OjA2OjEyLjAwM1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260307_070612.350 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"} 20260307_070612.350 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"deployment.id": "test_dcae_policy_dpl_id", "task_target": null, "plugin": {"name": "", "package_version": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null}, "type": "node-instance", "node": {"id": "test_ms_name", "properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "policy_updated_to_ver": "1", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy"}}, "type": "ms.nodes.type", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "instance": {"relationships": [{"target": {"node": {"id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name"}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2"}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name"}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name"}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name"}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "2", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "2", "policy_updated_ts": "2026-03-07T09:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_hello": "dolor"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name"}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_hello": "Lorem"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name"}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1.5", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "3", "policy_updated_ts": "2026-03-07T10:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_hello": "sit"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name"}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "4", "policy_updated_ts": "2026-03-07T11:06:12.003Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_hello": "amet"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_from_ver": "0", "policy_updated_ts": "2026-03-07T07:06:12.003Z", "weather": "snow", "db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem"}, "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2026-03-07T07:06:12.349Z", "policies_count": 2, "update_id": "24570feb-dd86-41bb-9fb1-bb2166013c77"}, "policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_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_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}}, "exe_task": "node_configure", "execute_operation": "policy_update"}}, "operation": {"name": null, "retry_number": null, "max_retries": null}, "task_id": null, "task_name": null} 20260307_070612.350 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260307_070612.350 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "1", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.351 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ConfigName": "alex_config_name", "priority": "aa20", "ONAPName": "DCAE"}, "config": {"policy_updated_from_ver": "1", "policy_updated_ts": "2026-03-07T08:06:12.003Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_hello": "ipsum"}, "property": null, "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "policyConfigMessage": "Config Retrieved! "}} 20260307_070612.351 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear