20250802_070612.745 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.747 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070612.747 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070612.747 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzQ3WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMzQyMzlmOTQtZDlhNy00ODZjLWI0MjEtYmE3ZDc4MmIyNjllIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMTA6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQxMDowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTAyVDA4OjA2OjEyLjcyMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070612.748 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.747Z", "policies_count": 4, "update_id": "34239f94-d9a7-486c-b421-ba7d782b269e"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.748 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.747Z", "policies_count": 4, "update_id": "34239f94-d9a7-486c-b421-ba7d782b269e"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}} 20250802_070612.748 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250802_070612.749 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.747Z", "policies_count": 4, "update_id": "34239f94-d9a7-486c-b421-ba7d782b269e"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.749 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250802_070612.749 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250802_070612.749 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0wMlQwNzowNjoxMi43NDlaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICIzYTE4OTE1NS02ODc1LTQ1MWMtYTdjYi1hM2EwZjNlZTA3NjgifQ=="}}] 20250802_070612.750 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"} 20250802_070612.750 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2025-08-02T07:06:12.749Z", "policies_count": 0, "update_id": "3a189155-6875-451c-a7cb-a3a0f3ee0768"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.750 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20250802_070612.751 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2025-08-02T07:06:12.749Z", "policies_count": 0, "update_id": "3a189155-6875-451c-a7cb-a3a0f3ee0768"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"}} 20250802_070612.751 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"} 20250802_070612.751 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070612.759 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.760 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070612.760 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070612.760 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.760 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"} 20250802_070612.760 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250802_070612.760 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070612.765 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250802_070612.766 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.766 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250802_070612.766 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070612.766 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070612.767 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.767 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070612.774 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.774 ERROR MainThread mock-context-logger.wrapper: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 185, in wrapper Policies._set_policies(policies) TypeError: unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20250802_070612.774 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) 20250802_070612.774 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070612.778 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250802_070612.779 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.779 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/"}}] 20250802_070612.779 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070612.779 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070612.780 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.780 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070612.788 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.789 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070612.790 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070612.790 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzkwWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZWFiMzc3MWUtYTFhMy00OWE2LTk5MjgtOThlMDk3OGMxMGQyIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMTA6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQxMDowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTAyVDA4OjA2OjEyLjcyMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070612.790 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.790Z", "policies_count": 4, "update_id": "eab3771e-a1a3-49a6-9928-98e0978c10d2"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.791 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.790Z", "policies_count": 4, "update_id": "eab3771e-a1a3-49a6-9928-98e0978c10d2"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}} 20250802_070612.791 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250802_070612.791 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250802_070612.791 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250802_070612.792 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.790Z", "policies_count": 4, "update_id": "eab3771e-a1a3-49a6-9928-98e0978c10d2"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.792 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250802_070612.792 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250802_070612.792 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0wMlQwNzowNjoxMi43OTJaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJmMTVjYjU4OS00Y2I5LTQwZTgtYjI2Ny0wMzA5NjlmYWQyMjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQwODowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQxMDowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQwODowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070612.793 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"} 20250802_070612.793 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2025-08-02T07:06:12.792Z", "policies_count": 4, "update_id": "f15cb589-4cb9-40e8-b267-030969fad224"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.794 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250802_070612.794 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250802_070612.794 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250802_070612.794 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250802_070612.794 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250802_070612.794 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250802_070612.795 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250802_070612.795 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070612.810 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.810 ERROR MainThread mock-context-logger.wrapper: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 316, in wrapper Policies._update_policies(updated_policies, added_policies, removed_policies) TypeError: unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20250802_070612.810 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) 20250802_070612.810 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070612.815 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.816 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070612.816 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070612.816 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuODE2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiY2Q1M2NlYzMtYTk5ZC00NjhmLWI4YjQtNjc5MWNkMzM2NjMyIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMTA6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQxMDowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTAyVDA4OjA2OjEyLjcyMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070612.817 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.816Z", "policies_count": 4, "update_id": "cd53cec3-a99d-468f-b8b4-6791cd336632"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.817 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.816Z", "policies_count": 4, "update_id": "cd53cec3-a99d-468f-b8b4-6791cd336632"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}} 20250802_070612.817 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250802_070612.817 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.816Z", "policies_count": 4, "update_id": "cd53cec3-a99d-468f-b8b4-6791cd336632"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.818 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250802_070612.818 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250802_070612.818 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0wMlQwNzowNjoxMi44MThaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICIzNzA2NWNhOS02ZTkwLTQzNzUtOTdhMC1hOWZhYTVmZDM4NjcifQ=="}}] 20250802_070612.819 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"} 20250802_070612.819 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2025-08-02T07:06:12.818Z", "policies_count": 0, "update_id": "37065ca9-6e90-4375-97a0-a9faa5fd3867"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.820 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2025-08-02T07:06:12.818Z", "policies_count": 0, "update_id": "37065ca9-6e90-4375-97a0-a9faa5fd3867"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.820 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250802_070612.820 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250802_070612.821 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2025-08-02T07:06:12.818Z", "policies_count": 0, "update_id": "37065ca9-6e90-4375-97a0-a9faa5fd3867"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.821 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20250802_070612.821 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2025-08-02T07:06:12.818Z", "policies_count": 0, "update_id": "37065ca9-6e90-4375-97a0-a9faa5fd3867"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"}} 20250802_070612.821 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"} 20250802_070612.821 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070612.840 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.841 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070612.842 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070612.842 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuODQyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNDExYTJlNzktNmY0NS00ZTcwLThhMWYtMzdlMzcwN2MyNWEyIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMTA6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQxMDowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTAyVDA4OjA2OjEyLjcyMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070612.843 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.842Z", "policies_count": 4, "update_id": "411a2e79-6f45-4e70-8a1f-37e3707c25a2"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.843 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.842Z", "policies_count": 4, "update_id": "411a2e79-6f45-4e70-8a1f-37e3707c25a2"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}} 20250802_070612.843 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250802_070612.843 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070612.853 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.854 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070612.854 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070612.854 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuODU0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYzBhMzIwZjctNjIwOS00Y2RjLTk2YWYtYjZlNmRjMjI4NTRiIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMTA6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQxMDowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTAyVDA4OjA2OjEyLjcyMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070612.855 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.854Z", "policies_count": 4, "update_id": "c0a320f7-6209-4cdc-96af-b6e6dc22854b"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.855 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.854Z", "policies_count": 4, "update_id": "c0a320f7-6209-4cdc-96af-b6e6dc22854b"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}} 20250802_070612.855 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250802_070612.855 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250802_070612.856 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250802_070612.856 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.854Z", "policies_count": 4, "update_id": "c0a320f7-6209-4cdc-96af-b6e6dc22854b"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.856 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250802_070612.856 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250802_070612.857 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0wMlQwNzowNjoxMi44NTdaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJlNTU2M2ExYy1lYmY5LTRiOTItYmU3Yi0xOTYxNjkyNGFlMDcifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQwODowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQxMDowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQwODowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070612.857 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"} 20250802_070612.858 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2025-08-02T07:06:12.857Z", "policies_count": 4, "update_id": "e5563a1c-ebf9-4b92-be7b-19616924ae07"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.858 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250802_070612.858 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250802_070612.858 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250802_070612.859 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250802_070612.859 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250802_070612.859 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250802_070612.859 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250802_070612.859 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070612.875 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.876 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070612.876 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070612.876 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuODc2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMjc5NjJmMDctM2MyNi00YTg4LTk0NDYtMDM3N2MyYWFlYTg5In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMTA6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQxMDowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTAyVDA4OjA2OjEyLjcyMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070612.877 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.876Z", "policies_count": 4, "update_id": "27962f07-3c26-4a88-9446-0377c2aaea89"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.877 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.876Z", "policies_count": 4, "update_id": "27962f07-3c26-4a88-9446-0377c2aaea89"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}} 20250802_070612.877 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250802_070612.878 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250802_070612.878 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250802_070612.878 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.876Z", "policies_count": 4, "update_id": "27962f07-3c26-4a88-9446-0377c2aaea89"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.878 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250802_070612.879 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250802_070612.879 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0wMlQwNzowNjoxMi44NzlaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJhMzgzZWE0ZS03YzNjLTRlMzQtYjYzZS04OGFhNzYyOGZlOGEifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQwODowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQxMDowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQwODowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070612.880 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"} 20250802_070612.880 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2025-08-02T07:06:12.879Z", "policies_count": 4, "update_id": "a383ea4e-7c3c-4e34-b63e-88aa7628fe8a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.880 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250802_070612.880 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250802_070612.881 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250802_070612.881 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250802_070612.881 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250802_070612.881 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250802_070612.881 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250802_070612.881 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070612.897 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.898 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070612.898 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070612.899 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuODk5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiM2Y0ZTM4YzMtMWY5OS00NmNjLThjN2EtZTAwNjg5MjEyNjU5In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMTA6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQxMDowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTAyVDA4OjA2OjEyLjcyMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070612.899 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.899Z", "policies_count": 4, "update_id": "3f4e38c3-1f99-46cc-8c7a-e00689212659"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.900 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.899Z", "policies_count": 4, "update_id": "3f4e38c3-1f99-46cc-8c7a-e00689212659"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}} 20250802_070612.900 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250802_070612.900 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_delete", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.899Z", "policies_count": 4, "update_id": "3f4e38c3-1f99-46cc-8c7a-e00689212659"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.900 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/"}}] 20250802_070612.901 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070612.901 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"} 20250802_070612.901 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_delete", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.899Z", "policies_count": 4, "update_id": "3f4e38c3-1f99-46cc-8c7a-e00689212659"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.901 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070612.916 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.917 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070612.917 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070612.918 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuOTE3WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOWM2MTEyZjItOWFiYS00YWQ3LTg5ODUtYTAzNjkzNzNjNWRiIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMTA6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQxMDowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTAyVDA4OjA2OjEyLjcyMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070612.918 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.917Z", "policies_count": 4, "update_id": "9c6112f2-9aba-4ad7-8985-a0369373c5db"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.918 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.917Z", "policies_count": 4, "update_id": "9c6112f2-9aba-4ad7-8985-a0369373c5db"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}} 20250802_070612.919 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250802_070612.919 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250802_070612.919 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250802_070612.919 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.917Z", "policies_count": 4, "update_id": "9c6112f2-9aba-4ad7-8985-a0369373c5db"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.920 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250802_070612.920 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250802_070612.920 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0wMlQwNzowNjoxMi45MjBaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI3NGYyNGNhMC1kYzk5LTRmNDYtYWYxYS1hYzI5ZTBlMTc0YmIifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInR5cGUiOiAiSlNPTiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQxMDowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9LCAidHlwZSI6ICJKU09OIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}] 20250802_070612.921 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"} 20250802_070612.921 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2025-08-02T07:06:12.920Z", "policies_count": 4, "update_id": "74f24ca0-dc99-4f46-af1a-ac29e0e174bb"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.921 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250802_070612.922 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250802_070612.922 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250802_070612.922 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250802_070612.922 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250802_070612.922 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250802_070612.922 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250802_070612.923 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070612.938 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250802_070612.938 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.938 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070612.939 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070612.939 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.939 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070612.947 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.948 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070612.948 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070612.948 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuOTQ4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMzU1MzRlOTAtNDFiMi00YTcxLTlmMTYtYjNlYWMwYWZkMjAxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMTA6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQxMDowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTAyVDA4OjA2OjEyLjcyMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070612.949 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.948Z", "policies_count": 4, "update_id": "35534e90-41b2-4a71-9f16-b3eac0afd201"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.949 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.948Z", "policies_count": 4, "update_id": "35534e90-41b2-4a71-9f16-b3eac0afd201"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}} 20250802_070612.949 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250802_070612.950 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_delete", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.948Z", "policies_count": 4, "update_id": "35534e90-41b2-4a71-9f16-b3eac0afd201"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.950 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/"}}] 20250802_070612.950 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070612.950 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"} 20250802_070612.951 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_delete", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.948Z", "policies_count": 4, "update_id": "35534e90-41b2-4a71-9f16-b3eac0afd201"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.951 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070612.964 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 20250802_070612.965 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070612.968 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.969 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070612.970 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070612.970 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuOTcwWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiM2EwZTQwM2YtNDMwYi00MTg1LThkNDItODVjMjMyMDlmZWJjIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMTA6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQxMDowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTAyVDA4OjA2OjEyLjcyMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070612.970 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.970Z", "policies_count": 4, "update_id": "3a0e403f-430b-4185-8d42-85c23209febc"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.971 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.970Z", "policies_count": 4, "update_id": "3a0e403f-430b-4185-8d42-85c23209febc"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}} 20250802_070612.971 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250802_070612.971 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070612.971 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_3"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}] 20250802_070612.972 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.970Z", "policies_count": 4, "update_id": "3a0e403f-430b-4185-8d42-85c23209febc"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.972 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_3"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2"}}}, "dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}}}}, removed_policies: ["<<>>"] 20250802_070612.972 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}} 20250802_070612.972 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"duplicate": [], "unexpected": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}], "ignored": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_3"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}], "same": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach"}]} 20250802_070612.973 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.970Z", "policies_count": 4, "update_id": "3a0e403f-430b-4185-8d42-85c23209febc"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.973 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.970Z", "policies_count": 4, "update_id": "3a0e403f-430b-4185-8d42-85c23209febc"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}} 20250802_070612.973 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250802_070612.974 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070612.974 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070612.993 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.994 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070612.994 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070612.994 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuOTk0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZDU5MDcwMmQtYjMyZi00MjBkLTlmMDAtNjI1YzcwMzNjMjNlIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMTA6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQxMDowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTAyVDA4OjA2OjEyLjcyMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070612.995 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.994Z", "policies_count": 4, "update_id": "d590702d-b32f-420d-9f00-625c7033c23e"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.995 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.994Z", "policies_count": 4, "update_id": "d590702d-b32f-420d-9f00-625c7033c23e"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}} 20250802_070612.995 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250802_070612.996 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:12.994Z", "policies_count": 4, "update_id": "d590702d-b32f-420d-9f00-625c7033c23e"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.996 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250802_070612.996 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250802_070612.997 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0wMlQwNzowNjoxMi45OTZaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI1MjRlYzhhYy1lN2JjLTRjN2ItYjQwYy1jMTk5ZmQ5MjAxY2MifQ=="}}] 20250802_070612.997 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"} 20250802_070612.997 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2025-08-02T07:06:12.996Z", "policies_count": 0, "update_id": "524ec8ac-e7bc-4c7b-b40c-c199fd9201cc"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.998 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250802_070612.998 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250802_070612.998 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250802_070612.998 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2025-08-02T07:06:12.996Z", "policies_count": 0, "update_id": "524ec8ac-e7bc-4c7b-b40c-c199fd9201cc"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070612.999 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250802_070612.999 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250802_070612.999 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0wMlQwNzowNjoxMi45OTlaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICI2MDFlMGQxMC0yNTM3LTQwNGItOWU1Zi1iZjQ5ZGUxNTgwM2YifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQwODowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQwODowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070612.999 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem", "db_port": "123"} 20250802_070613.000 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2025-08-02T07:06:12.999Z", "policies_count": 2, "update_id": "601e0d10-2537-404b-9e5f-bf49de15803f"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.000 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250802_070613.000 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250802_070613.000 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250802_070613.001 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070613.019 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.019 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250802_070613.020 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.020 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250802_070613.020 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070613.025 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.026 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070613.026 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070613.026 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMDJUMDc6MDY6MTMuMDI2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYTI3NWM0YzctNTVlYy00YzQ1LTk0MDktNmM5NTA0MzExN2UxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMTA6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQxMDowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTAyVDA4OjA2OjEyLjcyMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070613.027 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:13.026Z", "policies_count": 4, "update_id": "a275c4c7-55ec-4c45-9409-6c95043117e1"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.027 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:13.026Z", "policies_count": 4, "update_id": "a275c4c7-55ec-4c45-9409-6c95043117e1"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}} 20250802_070613.027 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250802_070613.028 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:13.026Z", "policies_count": 4, "update_id": "a275c4c7-55ec-4c45-9409-6c95043117e1"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.028 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250802_070613.028 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250802_070613.029 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0wMlQwNzowNjoxMy4wMjlaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI3MDY0YmIwNy02N2QwLTRlNGItOThmYi02NDI1MzgzMTljMGYifQ=="}}] 20250802_070613.029 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"} 20250802_070613.030 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2025-08-02T07:06:13.029Z", "policies_count": 0, "update_id": "7064bb07-67d0-4e4b-98fb-642538319c0f"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.030 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250802_070613.030 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250802_070613.030 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2025-08-02T07:06:13.029Z", "policies_count": 0, "update_id": "7064bb07-67d0-4e4b-98fb-642538319c0f"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.031 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250802_070613.031 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250802_070613.031 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wOC0wMlQwNzowNjoxMy4wMzFaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICI3NjY5Yjg1YS0xNWVmLTQ4N2EtOTYwNC1kOWE5NjBkMGU2MWYifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQwODowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQwODowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJ0eXBlIjogIkpTT04iLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070613.032 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem", "db_port": "123"} 20250802_070613.032 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "updated", "timestamp": "2025-08-02T07:06:13.031Z", "policies_count": 2, "update_id": "7669b85a-15ef-487a-9604-d9a960d0e61f"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "policy_hello": "Lorem", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.032 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250802_070613.032 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250802_070613.033 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250802_070613.033 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070613.052 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250802_070613.053 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.053 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/"}}] 20250802_070613.053 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070613.053 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070613.054 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.054 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070613.062 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.063 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070613.063 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070613.063 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDgtMDJUMDc6MDY6MTMuMDYzWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMTM5ZjJhYzktZmU0Zi00YzUxLWEyMWUtMzdmOTM3NzJhZmVmIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMTA6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJMb3JlbSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDgtMDJUMDc6MDY6MTIuNzIxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2gifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOC0wMlQxMDowNjoxMi43MjFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA4LTAyVDA4OjA2OjEyLjcyMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250802_070613.064 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:13.063Z", "policies_count": 4, "update_id": "139f2ac9-fe4f-4c51-a21e-37f93772afef"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.064 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"exe_task": "node_configure", "policies_event": {"action": "gathered", "timestamp": "2025-08-02T07:06:13.063Z", "policies_count": 4, "update_id": "139f2ac9-fe4f-4c51-a21e-37f93772afef"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}} 20250802_070613.064 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250802_070613.064 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250802_070613.065 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250802_070613.065 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250802_070613.065 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250802_070613.065 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250802_070613.065 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250802_070613.065 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20250802_070613.066 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "type": "JSON", "policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20250802_070613.066 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070613.075 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.075 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070613.075 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070613.076 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.076 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", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"} 20250802_070613.076 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250802_070613.076 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070613.081 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250802_070613.081 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.082 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/"}}] 20250802_070613.082 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070613.082 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070613.082 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.083 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070613.089 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 20250802_070613.089 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250802_070613.093 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250802_070613.093 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.093 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250802_070613.094 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250802_070613.094 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"} 20250802_070613.094 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"node": {"properties": {"application_config": {"db_port": "123", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "task_target": null, "type": "node-instance", "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "policies_event": {}, "application_config": {"policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-08-02T07:06:12.721Z"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-08-02T09:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-08-02T07:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-08-02T08:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-08-02T10:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-08-02T11:06:12.721Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null} 20250802_070613.094 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear