20251101_031005.305 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.306 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.306 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.306 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS4zMDZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMTE5MjJiYmQtNzNjZS00ZmYwLTk4MTMtYzE2YTJhMzJmOTljIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDM6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA2OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA0OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDY6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.307 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.306Z", "action": "gathered", "policies_count": 4, "update_id": "11922bbd-73ce-4ff0-9813-c16a2a32f99c"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.307 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.306Z", "action": "gathered", "policies_count": 4, "update_id": "11922bbd-73ce-4ff0-9813-c16a2a32f99c"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}} 20251101_031005.307 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}} 20251101_031005.308 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.306Z", "action": "gathered", "policies_count": 4, "update_id": "11922bbd-73ce-4ff0-9813-c16a2a32f99c"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.308 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20251101_031005.308 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251101_031005.309 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS4zMDhaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI4ZTYzMjRkYS00MDc1LTRjNzMtYjkwZS00YTdmYjEwMjgzZWUifQ=="}}] 20251101_031005.309 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.309 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.308Z", "action": "updated", "policies_count": 0, "update_id": "8e6324da-4075-4c73-b90e-4a7fb10283ee"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.310 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.308Z", "action": "updated", "policies_count": 0, "update_id": "8e6324da-4075-4c73-b90e-4a7fb10283ee"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.310 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20251101_031005.310 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251101_031005.310 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.308Z", "action": "updated", "policies_count": 0, "update_id": "8e6324da-4075-4c73-b90e-4a7fb10283ee"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.311 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_both'] 20251101_031005.311 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.308Z", "action": "updated", "policies_count": 0, "update_id": "8e6324da-4075-4c73-b90e-4a7fb10283ee"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}} 20251101_031005.311 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.311 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.322 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.323 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.323 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.324 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS4zMjRaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZmNiZWQ4OGEtYmU2ZC00ZDRlLTkyNGUtNWRjMjUxMzUyYTcyIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDM6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA2OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA0OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDY6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.324 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.324Z", "action": "gathered", "policies_count": 4, "update_id": "fcbed88a-be6d-4d4e-924e-5dc251352a72"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.325 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.324Z", "action": "gathered", "policies_count": 4, "update_id": "fcbed88a-be6d-4d4e-924e-5dc251352a72"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}} 20251101_031005.325 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}} 20251101_031005.325 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}] 20251101_031005.325 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20251101_031005.326 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.324Z", "action": "gathered", "policies_count": 4, "update_id": "fcbed88a-be6d-4d4e-924e-5dc251352a72"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.326 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251101_031005.326 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}} 20251101_031005.326 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS4zMjZaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJiMzNlMmRiYi01MDA2LTQyMjktODdmYy1kOTI2NGU3ODMwZWUifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDM6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wMVQwNDoxMDowNS4yODFaIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDY6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wMVQwNDoxMDowNS4yODFaIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.327 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.327 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.326Z", "action": "updated", "policies_count": 4, "update_id": "b33e2dbb-5006-4229-87fc-d9264e7830ee"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.328 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20251101_031005.328 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.328 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.328 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.328 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}} 20251101_031005.328 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.328 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}} 20251101_031005.329 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.344 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.345 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.346 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.346 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS4zNDZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYWIzOGVlZjgtZDBkMC00YjdmLWEyZWMtYWZhZGMzZTc0ZWI4In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDM6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA2OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA0OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDY6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.346 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.346Z", "action": "gathered", "policies_count": 4, "update_id": "ab38eef8-d0d0-4b7f-a2ec-afadc3e74eb8"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.347 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.346Z", "action": "gathered", "policies_count": 4, "update_id": "ab38eef8-d0d0-4b7f-a2ec-afadc3e74eb8"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}} 20251101_031005.347 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}} 20251101_031005.347 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.346Z", "action": "gathered", "policies_count": 4, "update_id": "ab38eef8-d0d0-4b7f-a2ec-afadc3e74eb8"}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.347 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/"}}] 20251101_031005.348 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.348 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.348 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.346Z", "action": "gathered", "policies_count": 4, "update_id": "ab38eef8-d0d0-4b7f-a2ec-afadc3e74eb8"}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.348 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.363 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.364 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.364 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.364 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS4zNjRaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOTVhZDE1ZGUtMjlhNi00MDBkLWEyNjAtZDFiMzZhM2NiNGViIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDM6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA2OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA0OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDY6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.365 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.364Z", "action": "gathered", "policies_count": 4, "update_id": "95ad15de-29a6-400d-a260-d1b36a3cb4eb"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.365 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.364Z", "action": "gathered", "policies_count": 4, "update_id": "95ad15de-29a6-400d-a260-d1b36a3cb4eb"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}} 20251101_031005.365 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}} 20251101_031005.366 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.364Z", "action": "gathered", "policies_count": 4, "update_id": "95ad15de-29a6-400d-a260-d1b36a3cb4eb"}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.366 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/"}}] 20251101_031005.366 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.366 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.367 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.364Z", "action": "gathered", "policies_count": 4, "update_id": "95ad15de-29a6-400d-a260-d1b36a3cb4eb"}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.367 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.380 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 20251101_031005.381 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.384 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.385 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.385 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.385 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.385 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"} 20251101_031005.385 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251101_031005.385 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.389 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 20251101_031005.389 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.393 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20251101_031005.393 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.394 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20251101_031005.394 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.394 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.394 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.395 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.401 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.402 ERROR MainThread mock-context-logger.wrapper: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 185, in wrapper Policies._set_policies(policies) TypeError: unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20251101_031005.402 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) 20251101_031005.402 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.406 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251101_031005.407 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.407 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/"}}] 20251101_031005.407 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.407 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.407 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.408 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.415 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.416 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.417 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.417 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS40MTdaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYjA5MzBjOGMtOTgwNy00OTg0LTk4OWMtZWM0Njk0NTFiYWI3In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDM6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA2OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA0OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDY6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.417 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.417Z", "action": "gathered", "policies_count": 4, "update_id": "b0930c8c-9807-4984-989c-ec469451bab7"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.418 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.417Z", "action": "gathered", "policies_count": 4, "update_id": "b0930c8c-9807-4984-989c-ec469451bab7"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}} 20251101_031005.418 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}} 20251101_031005.418 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.418 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}] 20251101_031005.419 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.417Z", "action": "gathered", "policies_count": 4, "update_id": "b0930c8c-9807-4984-989c-ec469451bab7"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.419 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}], added_policies: {"<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "dcae_policies_b_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}}, removed_policies: ["<<>>"] 20251101_031005.419 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}} 20251101_031005.419 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}], "duplicate": [], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}]} 20251101_031005.420 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.417Z", "action": "gathered", "policies_count": 4, "update_id": "b0930c8c-9807-4984-989c-ec469451bab7"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.420 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.417Z", "action": "gathered", "policies_count": 4, "update_id": "b0930c8c-9807-4984-989c-ec469451bab7"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}} 20251101_031005.420 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}} 20251101_031005.421 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.421 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.438 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.439 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.439 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.439 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS40MzlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiODMzYzQwYzItZjFmYi00MGM5LTliYmEtZDQwN2ZhNTk2NmFlIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDM6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA2OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA0OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDY6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.440 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.439Z", "action": "gathered", "policies_count": 4, "update_id": "833c40c2-f1fb-40c9-9bba-d407fa5966ae"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.440 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.439Z", "action": "gathered", "policies_count": 4, "update_id": "833c40c2-f1fb-40c9-9bba-d407fa5966ae"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}} 20251101_031005.440 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}} 20251101_031005.440 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.439Z", "action": "gathered", "policies_count": 4, "update_id": "833c40c2-f1fb-40c9-9bba-d407fa5966ae"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.441 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20251101_031005.441 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251101_031005.441 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS40NDFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI5NGE5N2IwMS04ZGIzLTRiNzItODFhYi1jNzU3MWI0MjJmMWYifQ=="}}] 20251101_031005.442 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.442 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.441Z", "action": "updated", "policies_count": 0, "update_id": "94a97b01-8db3-4b72-81ab-c7571b422f1f"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.442 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi', 'monkeyed.Config_both'] 20251101_031005.443 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.441Z", "action": "updated", "policies_count": 0, "update_id": "94a97b01-8db3-4b72-81ab-c7571b422f1f"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}} 20251101_031005.443 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.443 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.456 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.457 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.457 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.457 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.457 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}, "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "exe_task": "node_configure"} 20251101_031005.457 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251101_031005.457 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.462 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.463 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.464 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.464 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS40NjRaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOTBlZTQzM2YtYTk3Yy00MjY5LTljNzMtMDQyMjI2NDhjZDExIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDM6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA2OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA0OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDY6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.464 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.464Z", "action": "gathered", "policies_count": 4, "update_id": "90ee433f-a97c-4269-9c73-04222648cd11"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.465 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.464Z", "action": "gathered", "policies_count": 4, "update_id": "90ee433f-a97c-4269-9c73-04222648cd11"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}} 20251101_031005.465 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}} 20251101_031005.465 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.464Z", "action": "gathered", "policies_count": 4, "update_id": "90ee433f-a97c-4269-9c73-04222648cd11"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.465 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20251101_031005.466 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251101_031005.466 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS40NjZaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICIxMTgwNGZkNC05YjQ0LTQ0MjAtYjZhNC03MTc2ZDFlNTQwMzQifQ=="}}] 20251101_031005.466 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.467 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.466Z", "action": "updated", "policies_count": 0, "update_id": "11804fd4-9b44-4420-b6a4-7176d1e54034"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.467 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}] 20251101_031005.467 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20251101_031005.468 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.466Z", "action": "updated", "policies_count": 0, "update_id": "11804fd4-9b44-4420-b6a4-7176d1e54034"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.468 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251101_031005.468 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}} 20251101_031005.468 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS40NjhaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICIyODQ1MjhmMC1hMTBiLTQxYzItYWNhOS1hMzlkOTZmYWEzNTQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wMVQwNDoxMDowNS4yODFaIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wMVQwNDoxMDowNS4yODFaIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.469 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.469 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.468Z", "action": "updated", "policies_count": 2, "update_id": "284528f0-a10b-41c2-aca9-a39d96faa354"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.469 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20251101_031005.470 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.470 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.470 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.490 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.491 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.491 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.491 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS40OTFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOWQ4MjMzZjgtZDgwNi00ZmY2LWJkYzgtMGNkNWQ2MzY5NDZkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDM6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA2OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA0OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDY6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.492 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.491Z", "action": "gathered", "policies_count": 4, "update_id": "9d8233f8-d806-4ff6-bdc8-0cd5d636946d"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.492 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.491Z", "action": "gathered", "policies_count": 4, "update_id": "9d8233f8-d806-4ff6-bdc8-0cd5d636946d"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}} 20251101_031005.492 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}} 20251101_031005.492 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.502 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.503 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.503 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.504 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS41MDNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYjYyOTE3ZTItYmZmYi00YWI2LWIzMWEtMDY0M2M5NzVmZWU3In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDM6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA2OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA0OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDY6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.504 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.503Z", "action": "gathered", "policies_count": 4, "update_id": "b62917e2-bffb-4ab6-b31a-0643c975fee7"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.504 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.503Z", "action": "gathered", "policies_count": 4, "update_id": "b62917e2-bffb-4ab6-b31a-0643c975fee7"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}} 20251101_031005.504 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}} 20251101_031005.505 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}] 20251101_031005.505 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20251101_031005.505 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.503Z", "action": "gathered", "policies_count": 4, "update_id": "b62917e2-bffb-4ab6-b31a-0643c975fee7"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_not_only_config", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.505 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251101_031005.506 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}} 20251101_031005.506 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS41MDZaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI3ODRhZTQyOC1mMDgzLTQ1OTktOThjZS02YmQxYzFjYzk0YzgifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDM6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wMVQwNDoxMDowNS4yODFaIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDY6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wMVQwNDoxMDowNS4yODFaIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.507 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.507 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.506Z", "action": "updated", "policies_count": 4, "update_id": "784ae428-f083-4599-98ce-6bd1c1cc94c8"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_not_only_config", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.507 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20251101_031005.507 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.508 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.508 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.508 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}} 20251101_031005.508 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.508 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}} 20251101_031005.508 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.524 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.525 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.525 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.526 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS41MjVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMzBiZTJiM2EtMDM3My00MTFhLWEwZGUtMWQ4ODQ3YzdlNGVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDM6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA2OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA0OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDY6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.526 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.525Z", "action": "gathered", "policies_count": 4, "update_id": "30be2b3a-0373-411a-a0de-1d8847c7e4ed"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.526 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.525Z", "action": "gathered", "policies_count": 4, "update_id": "30be2b3a-0373-411a-a0de-1d8847c7e4ed"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}} 20251101_031005.527 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}} 20251101_031005.527 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.527 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}} 20251101_031005.527 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.527 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}} 20251101_031005.527 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.528 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}} 20251101_031005.528 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.528 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}} 20251101_031005.528 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.538 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20251101_031005.538 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.539 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.539 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.539 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.539 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.548 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251101_031005.548 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.548 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/"}}] 20251101_031005.549 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.549 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.549 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.549 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.556 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.556 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20251101_031005.556 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.557 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20251101_031005.557 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.561 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251101_031005.562 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.562 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/"}}] 20251101_031005.562 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.562 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.563 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.563 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.570 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.570 ERROR MainThread mock-context-logger.wrapper: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 316, in wrapper Policies._update_policies(updated_policies, added_policies, removed_policies) TypeError: unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20251101_031005.570 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) 20251101_031005.570 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.574 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.575 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.576 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.576 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS41NzZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYWY5M2VkYzctN2RmMi00MDc2LThiNDctNmIxMzRjNzE1ZjVmIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDM6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA2OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA0OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDY6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.576 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.576Z", "action": "gathered", "policies_count": 4, "update_id": "af93edc7-7df2-4076-8b47-6b134c715f5f"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.577 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.576Z", "action": "gathered", "policies_count": 4, "update_id": "af93edc7-7df2-4076-8b47-6b134c715f5f"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}} 20251101_031005.577 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}} 20251101_031005.577 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}] 20251101_031005.577 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251101_031005.578 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.576Z", "action": "gathered", "policies_count": 4, "update_id": "af93edc7-7df2-4076-8b47-6b134c715f5f"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.578 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251101_031005.578 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}} 20251101_031005.578 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS41NzhaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI0ZGM2MTBlZS1jZWExLTQ3MjUtYjJiOC0zZDk2YWMyM2NjMTUifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDM6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wMVQwNDoxMDowNS4yODFaIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDY6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wMVQwNDoxMDowNS4yODFaIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.579 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.579 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.578Z", "action": "updated", "policies_count": 4, "update_id": "4dc610ee-cea1-4725-b2b8-3d96ac23cc15"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.580 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251101_031005.580 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.580 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.580 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.580 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}} 20251101_031005.580 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.581 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}} 20251101_031005.581 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.597 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.598 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.598 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.598 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS41OThaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiY2Y2OWNkNmYtNTU4Mi00M2IzLWEzNDktMTM5MTRlNjVjM2EzIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDM6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA2OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA0OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDY6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.599 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.598Z", "action": "gathered", "policies_count": 4, "update_id": "cf69cd6f-5582-43b3-a349-13914e65c3a3"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.599 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.598Z", "action": "gathered", "policies_count": 4, "update_id": "cf69cd6f-5582-43b3-a349-13914e65c3a3"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}} 20251101_031005.599 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}} 20251101_031005.599 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.598Z", "action": "gathered", "policies_count": 4, "update_id": "cf69cd6f-5582-43b3-a349-13914e65c3a3"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.600 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_multi", "monkeyed.Config_both"] 20251101_031005.600 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251101_031005.600 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS42MDBaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI0MTZkMmQ5My1iMDQ1LTQ1YmYtOTYxMC1mZWM0MDA5NTg2YmEifQ=="}}] 20251101_031005.601 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.601 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.600Z", "action": "updated", "policies_count": 0, "update_id": "416d2d93-b045-45bf-9610-fec4009586ba"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.601 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251101_031005.602 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}] 20251101_031005.602 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251101_031005.602 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.600Z", "action": "updated", "policies_count": 0, "update_id": "416d2d93-b045-45bf-9610-fec4009586ba"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.602 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251101_031005.602 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}} 20251101_031005.603 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS42MDNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICJkMzQ1MzhiMy1lOGNiLTQ0ZmUtYjRhMi1iZTc2MzNjOTY2MTkifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wMVQwNDoxMDowNS4yODFaIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMS0wMVQwNDoxMDowNS4yODFaIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.603 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.604 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.603Z", "action": "updated", "policies_count": 2, "update_id": "d34538b3-e8cb-44fe-b4a2-be7633c96619"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.604 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251101_031005.604 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.604 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.604 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.624 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251101_031005.624 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.625 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/"}}] 20251101_031005.625 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.625 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.625 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.625 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251101_031005.633 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.634 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251101_031005.634 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.634 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS42MzRaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYjUyZGEzYmMtYjJlMS00MTY2LTk0ODQtY2Y1NDgxM2YyZWMzIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDM6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA2OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTExLTAxVDA0OjEwOjA1LjI4MVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDY6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251101_031005.635 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.634Z", "action": "gathered", "policies_count": 4, "update_id": "b52da3bc-b2e1-4166-9484-cf54813f2ec3"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.635 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.634Z", "action": "gathered", "policies_count": 4, "update_id": "b52da3bc-b2e1-4166-9484-cf54813f2ec3"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}} 20251101_031005.635 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}} 20251101_031005.636 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}] 20251101_031005.636 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251101_031005.636 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.634Z", "action": "gathered", "policies_count": 4, "update_id": "b52da3bc-b2e1-4166-9484-cf54813f2ec3"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2"}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_ts": "2025-11-01T04:10:05.281Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi"}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.636 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}], added_policies: {"dcae_policies_b_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"unexpected": "foo", "none": null}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251101_031005.637 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"unexpected": "foo", "none": null}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}} 20251101_031005.637 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMS0wMVQwMzoxMDowNS42MzdaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIzYzZmYWNiMy0xYjJmLTQxNjAtYTljZi1iZTBhNDJiMTVlNDEifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDM6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTEtMDFUMDY6MTA6MDUuMjgxWiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsidW5leHBlY3RlZCI6ICJmb28iLCAibm9uZSI6IG51bGx9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}] 20251101_031005.637 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"} 20251101_031005.638 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"blueprint.id": "test_dcae_policy_bp_id", "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "db_port": "123", "weather": "snow", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "updated_policy_id": "no_policy"}}, "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "id": "test_ms_name", "type": "ms.nodes.type"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {"timestamp": "2025-11-01T03:10:05.637Z", "action": "updated", "policies_count": 4, "update_id": "3c6facb3-1b2f-4160-a9cf-be0a42b15e41"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "monkeyed.Config_multi_2": {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"unexpected": "foo", "none": null}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}, "policy_filters": {"dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_from_ver": "0", "db_port": "123", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2", "policy_updated_ts": "2025-11-01T05:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}, "node": {"properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}, "node": {"properties": {}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}, "node": {"properties": {}, "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1", "policy_updated_ts": "2025-11-01T04:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "policy_updated_ts": "2025-11-01T06:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}, "node": {"properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4", "policy_updated_ts": "2025-11-01T07:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "responseAttributes": {}}}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}, "node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "id": "test_ms_id"}, "task_name": null, "task_target": null, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "type": "node-instance", "plugin": {"workdir": null, "package_version": null, "package_name": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}} 20251101_031005.638 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251101_031005.638 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_persistent": false, "policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"unexpected": "foo", "none": null}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.638 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.639 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.639 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_ts": "2025-11-01T03:10:05.281Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach"}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}} 20251101_031005.639 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-11-01T03:10:05.281Z"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "responseAttributes": {}}} 20251101_031005.639 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_persistent": true, "policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_ts": "2025-11-01T06:10:05.281Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both"}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}} 20251101_031005.639 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear