20250607_070626.426 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.427 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.427 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.428 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiYmY3OGY2MDYtNTE2My00OTk1LThhNzctY2JkZjNhODQ0OGQ1IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjQyN1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMDg6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMTA6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwNzowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTA3VDEwOjA2OjI2LjQwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04ifQ=="}}] 20250607_070626.428 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "bf78f606-5163-4995-8a77-cbdf3a8448d5", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.427Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.428 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "bf78f606-5163-4995-8a77-cbdf3a8448d5", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.427Z", "action": "gathered"}} 20250607_070626.428 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}} 20250607_070626.429 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.429 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}] 20250607_070626.429 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"update_id": "bf78f606-5163-4995-8a77-cbdf3a8448d5", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.427Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.430 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}}, removed_policies: ["<<>>"] 20250607_070626.430 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20250607_070626.430 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}], "duplicate": [], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}]} 20250607_070626.430 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"update_id": "bf78f606-5163-4995-8a77-cbdf3a8448d5", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.427Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.431 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"update_id": "bf78f606-5163-4995-8a77-cbdf3a8448d5", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.427Z", "action": "gathered"}} 20250607_070626.431 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}} 20250607_070626.431 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.431 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.442 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.443 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.443 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.443 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZGFhODU1NzItNzlkMy00YjE5LThhMzYtMzRmODZiYzJlZTA4IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjQ0M1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMDg6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMTA6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwNzowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTA3VDEwOjA2OjI2LjQwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04ifQ=="}}] 20250607_070626.444 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "daa85572-79d3-4b19-8a36-34f86bc2ee08", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.443Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.444 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "daa85572-79d3-4b19-8a36-34f86bc2ee08", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.443Z", "action": "gathered"}} 20250607_070626.444 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}} 20250607_070626.445 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"update_id": "daa85572-79d3-4b19-8a36-34f86bc2ee08", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.443Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.445 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250607_070626.445 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250607_070626.446 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZTNlMTIyMDItYWRjZS00MWU4LWIxZTItYTIwYTJhMDE3NzY5IiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjQ0NVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20250607_070626.446 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.446 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"update_id": "e3e12202-adce-41e8-b1e2-a20a2a017769", "policies_count": 0, "timestamp": "2025-06-07T07:06:26.445Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.447 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}] 20250607_070626.447 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250607_070626.447 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"update_id": "e3e12202-adce-41e8-b1e2-a20a2a017769", "policies_count": 0, "timestamp": "2025-06-07T07:06:26.445Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.447 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250607_070626.448 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20250607_070626.448 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMjBiYjdjNzItZGU5Ny00MTA5LWE1OWYtZjQyNjdjMzY5ZmQ3IiwgInBvbGljaWVzX2NvdW50IjogMiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjQ0OFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwODowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwODowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250607_070626.448 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.449 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"update_id": "20bb7c72-de97-4109-a59f-f4267c369fd7", "policies_count": 2, "timestamp": "2025-06-07T07:06:26.448Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.449 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250607_070626.449 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false} 20250607_070626.449 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20250607_070626.449 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.468 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 20250607_070626.468 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.472 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.473 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.473 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.474 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMzBhM2FjNzAtNDc3Mi00Zjg5LTg5NzYtNDM2N2M1NDRhODg3IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjQ3M1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMDg6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMTA6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwNzowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTA3VDEwOjA2OjI2LjQwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04ifQ=="}}] 20250607_070626.474 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "30a3ac70-4772-4f89-8976-4367c544a887", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.473Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.474 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "30a3ac70-4772-4f89-8976-4367c544a887", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.473Z", "action": "gathered"}} 20250607_070626.475 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}} 20250607_070626.475 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}] 20250607_070626.475 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250607_070626.475 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update_not_only_config", "policies_event": {"update_id": "30a3ac70-4772-4f89-8976-4367c544a887", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.473Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.476 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250607_070626.476 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20250607_070626.476 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiYzlmNWJmNmEtMWNmOC00OTU0LThiNjItMzI3N2E5YTMwM2NhIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjQ3NloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMTA6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwNzowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwODowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwODowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250607_070626.477 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.477 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "execute_operation": "policy_update_not_only_config", "policies_event": {"update_id": "c9f5bf6a-1cf8-4954-8b62-3277a9a303ca", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.476Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.477 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250607_070626.477 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false} 20250607_070626.478 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20250607_070626.478 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20250607_070626.478 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true} 20250607_070626.478 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20250607_070626.478 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true} 20250607_070626.478 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.495 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250607_070626.495 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.496 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.496 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.496 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.496 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.504 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.504 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250607_070626.504 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.504 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250607_070626.504 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.508 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.509 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) 20250607_070626.509 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) 20250607_070626.509 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.512 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.512 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.513 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.513 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.513 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}} 20250607_070626.513 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250607_070626.513 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.518 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250607_070626.518 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.519 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250607_070626.519 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.519 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.519 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.520 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.527 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.528 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.529 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.529 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMDY3YzM4ZTItMzcxNi00ZmUzLThjNjctYWNiM2Q3MTM5ZDljIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjUyOVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMDg6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMTA6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwNzowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTA3VDEwOjA2OjI2LjQwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04ifQ=="}}] 20250607_070626.529 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "067c38e2-3716-4fe3-8c67-acb3d7139d9c", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.529Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.530 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "067c38e2-3716-4fe3-8c67-acb3d7139d9c", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.529Z", "action": "gathered"}} 20250607_070626.530 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}} 20250607_070626.530 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_delete", "policies_event": {"update_id": "067c38e2-3716-4fe3-8c67-acb3d7139d9c", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.529Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.530 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20250607_070626.531 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.531 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.531 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_delete", "policies_event": {"update_id": "067c38e2-3716-4fe3-8c67-acb3d7139d9c", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.529Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.531 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.546 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250607_070626.546 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.547 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250607_070626.547 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.547 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.547 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.547 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.555 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.556 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.557 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.557 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNzEwZjUzYjctZWMyMi00NjFhLTgxMGQtMTA2YWJjOGJlOTU1IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjU1N1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMDg6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMTA6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwNzowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTA3VDEwOjA2OjI2LjQwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04ifQ=="}}] 20250607_070626.557 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "710f53b7-ec22-461a-810d-106abc8be955", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.557Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.558 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "710f53b7-ec22-461a-810d-106abc8be955", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.557Z", "action": "gathered"}} 20250607_070626.558 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}} 20250607_070626.558 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20250607_070626.558 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true} 20250607_070626.558 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20250607_070626.558 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true} 20250607_070626.559 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20250607_070626.559 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true} 20250607_070626.559 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false} 20250607_070626.559 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false} 20250607_070626.559 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.570 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.571 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.571 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.571 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZWRiNzBlODEtZGJiOC00NGFiLTkxMzEtNmU3NzFiNDkzMzEzIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjU3MVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMDg6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMTA6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwNzowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTA3VDEwOjA2OjI2LjQwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04ifQ=="}}] 20250607_070626.572 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "edb70e81-dbb8-44ab-9131-6e771b493313", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.571Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.572 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "edb70e81-dbb8-44ab-9131-6e771b493313", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.571Z", "action": "gathered"}} 20250607_070626.572 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}} 20250607_070626.573 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies_event": {"update_id": "edb70e81-dbb8-44ab-9131-6e771b493313", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.571Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.573 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250607_070626.573 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250607_070626.573 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiOWNhZTNkNGMtYjg4Ny00NjliLWFkZWItNzVmMTU0YzAyMDU2IiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjU3M1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20250607_070626.574 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.574 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies_event": {"update_id": "9cae3d4c-b887-469b-adeb-75f154c02056", "policies_count": 0, "timestamp": "2025-06-07T07:06:26.573Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.575 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250607_070626.575 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}] 20250607_070626.575 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250607_070626.575 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies_event": {"update_id": "9cae3d4c-b887-469b-adeb-75f154c02056", "policies_count": 0, "timestamp": "2025-06-07T07:06:26.573Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.575 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250607_070626.576 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20250607_070626.576 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNjYxMmNhNzctYjEwMS00NDhjLWE0N2YtNjM5Mzk0ZGRlOTg0IiwgInBvbGljaWVzX2NvdW50IjogMiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjU3NloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwODowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwODowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250607_070626.576 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.577 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies_event": {"update_id": "6612ca77-b101-448c-a47f-639394dde984", "policies_count": 2, "timestamp": "2025-06-07T07:06:26.576Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.577 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250607_070626.577 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false} 20250607_070626.577 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20250607_070626.577 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.597 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.598 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.599 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.599 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNjEyMTdlZGMtNzE3OC00MzI1LThmMTctNGY2YmQzMzY0MzdmIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjU5OVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMDg6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMTA6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwNzowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTA3VDEwOjA2OjI2LjQwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04ifQ=="}}] 20250607_070626.599 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "61217edc-7178-4325-8f17-4f6bd336437f", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.599Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.600 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "61217edc-7178-4325-8f17-4f6bd336437f", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.599Z", "action": "gathered"}} 20250607_070626.600 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}} 20250607_070626.600 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"update_id": "61217edc-7178-4325-8f17-4f6bd336437f", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.599Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.600 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250607_070626.601 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250607_070626.601 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMGRjMDQxMjEtZGE4Ny00M2E2LWI1OGUtNWNkMTk1YzU4M2YzIiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjYwMVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20250607_070626.602 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.602 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"update_id": "0dc04121-da87-43a6-b58e-5cd195c583f3", "policies_count": 0, "timestamp": "2025-06-07T07:06:26.601Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.602 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20250607_070626.602 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"update_id": "0dc04121-da87-43a6-b58e-5cd195c583f3", "policies_count": 0, "timestamp": "2025-06-07T07:06:26.601Z", "action": "updated"}} 20250607_070626.602 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.603 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.617 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.617 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) 20250607_070626.617 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) 20250607_070626.617 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.622 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.623 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.623 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.623 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZmFlODJiMDktNGUzOC00MTc1LWFmZGYtOTllM2YzYmE0ZTEwIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjYyM1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMDg6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMTA6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwNzowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTA3VDEwOjA2OjI2LjQwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04ifQ=="}}] 20250607_070626.624 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "fae82b09-4e38-4175-afdf-99e3f3ba4e10", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.623Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.624 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "fae82b09-4e38-4175-afdf-99e3f3ba4e10", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.623Z", "action": "gathered"}} 20250607_070626.624 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}} 20250607_070626.624 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}] 20250607_070626.624 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250607_070626.625 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies_event": {"update_id": "fae82b09-4e38-4175-afdf-99e3f3ba4e10", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.623Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.625 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250607_070626.625 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20250607_070626.626 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiODc4ZTA3ZDctNTU2OS00NTBhLWI0ZjEtYWFiNjUxN2MxNTIxIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjYyNVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMTA6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwNzowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsidW5leHBlY3RlZCI6ICJmb28iLCAibm9uZSI6IG51bGx9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}] 20250607_070626.626 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.626 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies_event": {"update_id": "878e07d7-5569-450a-b4f1-aab6517c1521", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.625Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.627 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250607_070626.627 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"unexpected": "foo", "none": null}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false} 20250607_070626.627 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20250607_070626.627 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20250607_070626.627 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true} 20250607_070626.627 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20250607_070626.628 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true} 20250607_070626.628 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.644 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.645 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.645 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.645 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiN2VlZWI4NGEtYmJkYi00YmM2LWEwZjAtMzRkNDUxNDAxZjZhIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjY0NVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMDg6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMTA6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwNzowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTA3VDEwOjA2OjI2LjQwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04ifQ=="}}] 20250607_070626.646 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "7eeeb84a-bbdb-4bc6-a0f0-34d451401f6a", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.645Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.646 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "7eeeb84a-bbdb-4bc6-a0f0-34d451401f6a", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.645Z", "action": "gathered"}} 20250607_070626.646 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}} 20250607_070626.647 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"update_id": "7eeeb84a-bbdb-4bc6-a0f0-34d451401f6a", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.645Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.647 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250607_070626.647 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250607_070626.648 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMzZhNDU4NjUtNzdjMC00MmQ1LWFhNzUtZmJiZTVkYjUwN2YwIiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjY0N1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20250607_070626.648 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.648 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"update_id": "36a45865-77c0-42d5-aa75-fbbe5db507f0", "policies_count": 0, "timestamp": "2025-06-07T07:06:26.647Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.649 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"update_id": "36a45865-77c0-42d5-aa75-fbbe5db507f0", "policies_count": 0, "timestamp": "2025-06-07T07:06:26.647Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.649 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_multi", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_peach_2"] 20250607_070626.649 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250607_070626.650 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"update_id": "36a45865-77c0-42d5-aa75-fbbe5db507f0", "policies_count": 0, "timestamp": "2025-06-07T07:06:26.647Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.650 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_multi', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_peach_2'] 20250607_070626.650 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"update_id": "36a45865-77c0-42d5-aa75-fbbe5db507f0", "policies_count": 0, "timestamp": "2025-06-07T07:06:26.647Z", "action": "updated"}} 20250607_070626.650 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.650 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.670 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.671 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.671 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.672 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNGIwOTEwNTQtZTRiOC00OTFhLWI3ZWMtZWQzNzU3MGUyMzRmIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjY3MloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMDg6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMTA6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwNzowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTA3VDEwOjA2OjI2LjQwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04ifQ=="}}] 20250607_070626.672 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "4b091054-e4b8-491a-b7ec-ed37570e234f", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.672Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.673 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "4b091054-e4b8-491a-b7ec-ed37570e234f", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.672Z", "action": "gathered"}} 20250607_070626.673 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}} 20250607_070626.673 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}] 20250607_070626.673 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250607_070626.673 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies_event": {"update_id": "4b091054-e4b8-491a-b7ec-ed37570e234f", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.672Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.674 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250607_070626.674 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20250607_070626.674 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiNzIxNzJjZGItZjlhZC00MjkwLWJkMjAtYzllYzVkMjYxMzU5IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjY3NFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMTA6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwNzowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwODowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwODowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250607_070626.675 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.675 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "policies_event": {"update_id": "72172cdb-f9ad-4290-bd20-c9ec5d261359", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.674Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.675 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250607_070626.676 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false} 20250607_070626.676 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20250607_070626.676 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20250607_070626.676 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true} 20250607_070626.676 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20250607_070626.676 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true} 20250607_070626.677 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.694 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250607_070626.695 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.695 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250607_070626.695 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.695 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.695 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.696 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.703 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250607_070626.704 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.704 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250607_070626.704 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.704 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.705 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.705 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.713 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.714 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.714 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.714 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiOTkxNTM2MjgtY2U5NC00NzIwLThmZWYtMmNmZjAzZTFlYTg5IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjcxNFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMDg6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMTA6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwNzowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTA3VDEwOjA2OjI2LjQwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04ifQ=="}}] 20250607_070626.715 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "99153628-ce94-4720-8fef-2cff03e1ea89", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.714Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.715 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "99153628-ce94-4720-8fef-2cff03e1ea89", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.714Z", "action": "gathered"}} 20250607_070626.715 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}} 20250607_070626.715 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}] 20250607_070626.716 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250607_070626.716 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"update_id": "99153628-ce94-4720-8fef-2cff03e1ea89", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.714Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.716 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250607_070626.717 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}} 20250607_070626.717 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZGM3MDNiYjgtODE4Mi00MjBkLTlmZWItNWQ1MzA2OTdkZTI0IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2LjcxN1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMTA6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwNzowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwODowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwODowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250607_070626.717 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.718 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false}}, "exe_task": "node_configure", "execute_operation": "policy_update", "policies_event": {"update_id": "dc703bb8-8182-420d-9feb-5d530697de24", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.717Z", "action": "updated"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.718 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250607_070626.718 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": false} 20250607_070626.718 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20250607_070626.719 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20250607_070626.719 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true} 20250607_070626.719 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_persistent": true} 20250607_070626.719 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true} 20250607_070626.719 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.735 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.735 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.735 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.735 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.735 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}} 20250607_070626.736 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250607_070626.736 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.741 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.742 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.742 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.742 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiMzg1ZDU4ODItMDc1NC00Yzc4LTliOTItNGJlMTRjMWZkY2JjIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2Ljc0MloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMDg6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMTA6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwNzowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTA3VDEwOjA2OjI2LjQwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04ifQ=="}}] 20250607_070626.743 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "385d5882-0754-4c78-9b92-4be14c1fdcbc", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.742Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.743 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "385d5882-0754-4c78-9b92-4be14c1fdcbc", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.742Z", "action": "gathered"}} 20250607_070626.743 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}} 20250607_070626.744 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_delete", "policies_event": {"update_id": "385d5882-0754-4c78-9b92-4be14c1fdcbc", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.742Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.744 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20250607_070626.744 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.744 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.745 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "db_port": "123", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_delete", "policies_event": {"update_id": "385d5882-0754-4c78-9b92-4be14c1fdcbc", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.742Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.745 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.759 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 20250607_070626.759 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.763 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.764 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.764 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.764 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJ1cGRhdGVfaWQiOiAiZjZiODEzNDItMWFmNS00M2IwLThiMGEtOTEyNDI0MTNiZjg1IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTA3VDA3OjA2OjI2Ljc2NFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMDg6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMDdUMTA6MDY6MjYuNDAxWiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0wN1QwNzowNjoyNi40MDFaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCJ9LCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTA3VDEwOjA2OjI2LjQwMVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJ0eXBlIjogIkpTT04ifQ=="}}] 20250607_070626.765 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "f6b81342-1af5-43b0-8b0a-91242413bf85", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.764Z", "action": "gathered"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.765 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}}, "exe_task": "node_configure", "policies_event": {"update_id": "f6b81342-1af5-43b0-8b0a-91242413bf85", "policies_count": 4, "timestamp": "2025-06-07T07:06:26.764Z", "action": "gathered"}} 20250607_070626.765 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "type": "JSON"}, "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "type": "JSON"}, "policy_persistent": true}} 20250607_070626.765 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250607_070626.775 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250607_070626.775 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "delete_node_empty", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.775 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20250607_070626.775 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250607_070626.776 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"} 20250607_070626.776 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"package_name": null, "name": "", "workdir": null, "package_version": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_name": null, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"updated_policy_id": "no_policy", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-07T07:06:26.401Z", "weather": "snow", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T09:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "policyVersion": "3", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "id": "non_policies_node_name", "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "policyVersion": "1", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T08:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "policyVersion": "2", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T10:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "config": {"policy_updated_ts": "2025-06-07T11:06:26.401Z", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "policyVersion": "5", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED"}}}}, "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "type": "cloudify.relationships.depends_on"}]}, "type": "node-instance", "task_queue": null, "node": {"type_hierarchy": ["ms.nodes.type"], "id": "test_ms_name", "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2025-06-07T07:06:26.401Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}}}, "task_target": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "execution_id": "test_dcae_policy_exe_id", "operation": {"retry_number": null, "name": null, "max_retries": null}} 20250607_070626.776 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear