20250614_070500.662 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.664 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.664 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.664 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogIjUxN2IyOGE2LTIwMTctNGYzZi04YzkzLWJjZTlhNDI0YzA1NyIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42NjRaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwODowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}] 20250614_070500.665 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "517b28a6-2017-4f3f-8c93-bce9a424c057", "timestamp": "2025-06-14T07:05:00.664Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.665 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "517b28a6-2017-4f3f-8c93-bce9a424c057", "timestamp": "2025-06-14T07:05:00.664Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20250614_070500.665 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250614_070500.665 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.666 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}] 20250614_070500.666 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "517b28a6-2017-4f3f-8c93-bce9a424c057", "timestamp": "2025-06-14T07:05:00.664Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.666 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["<<>>"] 20250614_070500.666 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}} 20250614_070500.667 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"duplicate": [], "unexpected": [{"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}], "ignored": [{"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}], "same": [{"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach"}]} 20250614_070500.667 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "517b28a6-2017-4f3f-8c93-bce9a424c057", "timestamp": "2025-06-14T07:05:00.664Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.667 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "517b28a6-2017-4f3f-8c93-bce9a424c057", "timestamp": "2025-06-14T07:05:00.664Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20250614_070500.667 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250614_070500.668 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.668 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.678 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.679 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.679 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.679 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogImU2YzU5NzQ5LTg5NDYtNGRlNy1hYTExLTVhNjJkYWZiOWZiNiIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42NzlaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwODowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}] 20250614_070500.680 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "e6c59749-8946-4de7-aa11-5a62dafb9fb6", "timestamp": "2025-06-14T07:05:00.679Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.680 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "e6c59749-8946-4de7-aa11-5a62dafb9fb6", "timestamp": "2025-06-14T07:05:00.679Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20250614_070500.680 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250614_070500.681 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.690 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.691 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.691 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.691 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogIjU1ZmNkNDU0LWZkNGUtNGQwNy1iYmZiLWEwNTg5MTc1NTY4MSIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42OTFaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwODowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}] 20250614_070500.692 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "55fcd454-fd4e-4d07-bbfb-a05891755681", "timestamp": "2025-06-14T07:05:00.691Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.692 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "55fcd454-fd4e-4d07-bbfb-a05891755681", "timestamp": "2025-06-14T07:05:00.691Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20250614_070500.692 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250614_070500.692 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250614_070500.693 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250614_070500.693 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "55fcd454-fd4e-4d07-bbfb-a05891755681", "timestamp": "2025-06-14T07:05:00.691Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.693 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250614_070500.693 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250614_070500.694 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiZTY2YmQwYjctODIwOS00ZmUxLWJiZGYtMGVjM2VjMzkxZjNhIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTE0VDA3OjA1OjAwLjY5NFoiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA4OjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA4OjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250614_070500.694 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.695 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "updated", "update_id": "e66bd0b7-8209-4fe1-bbdf-0ec3ec391f3a", "timestamp": "2025-06-14T07:05:00.694Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.695 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250614_070500.695 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250614_070500.695 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250614_070500.696 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_070500.696 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_070500.696 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_070500.696 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250614_070500.696 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.712 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.713 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.713 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.713 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogIjQ5M2YwMWExLWJmZmEtNGE4OS1iNWRkLWViY2Y5NDlkZjQ1NCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwNzowNTowMC43MTNaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwODowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}] 20250614_070500.714 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "493f01a1-bffa-4a89-b5dd-ebcf949df454", "timestamp": "2025-06-14T07:05:00.713Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.714 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "493f01a1-bffa-4a89-b5dd-ebcf949df454", "timestamp": "2025-06-14T07:05:00.713Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20250614_070500.714 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250614_070500.714 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": ["damaged config"], "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250614_070500.714 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250614_070500.715 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "493f01a1-bffa-4a89-b5dd-ebcf949df454", "timestamp": "2025-06-14T07:05:00.713Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.715 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": ["damaged config"], "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"unexpected": "foo", "none": null}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250614_070500.715 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"unexpected": "foo", "none": null}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250614_070500.716 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiZDIzODNjNmItOTgwMS00ZTgyLWI1M2QtOTc2NDVmNjhmMjU0IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTE0VDA3OjA1OjAwLjcxNVoiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVuZXhwZWN0ZWQiOiAiZm9vIiwgIm5vbmUiOiBudWxsfSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}] 20250614_070500.716 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.717 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": ["damaged config"], "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"unexpected": "foo", "none": null}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "updated", "update_id": "d2383c6b-9801-4e82-b53d-97645f68f254", "timestamp": "2025-06-14T07:05:00.715Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.717 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250614_070500.717 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"unexpected": "foo", "none": null}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250614_070500.717 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": ["damaged config"], "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250614_070500.717 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_070500.717 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_070500.718 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_070500.718 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250614_070500.718 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.734 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250614_070500.734 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.734 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"}}] 20250614_070500.734 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.735 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.735 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.735 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.742 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 20250614_070500.742 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.746 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250614_070500.746 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.746 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"}}] 20250614_070500.746 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.747 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.747 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.747 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.754 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.754 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) 20250614_070500.755 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) 20250614_070500.755 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.758 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 20250614_070500.758 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.762 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.763 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.763 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.763 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogImYyY2ZkZjNjLWYyOTMtNDYwZi1hNmI5LWVkZTIyMWVjMjdkNCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwNzowNTowMC43NjNaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwODowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}] 20250614_070500.764 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "f2cfdf3c-f293-460f-a6b9-ede221ec27d4", "timestamp": "2025-06-14T07:05:00.763Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.764 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "f2cfdf3c-f293-460f-a6b9-ede221ec27d4", "timestamp": "2025-06-14T07:05:00.763Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20250614_070500.764 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250614_070500.765 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "f2cfdf3c-f293-460f-a6b9-ede221ec27d4", "timestamp": "2025-06-14T07:05:00.763Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.765 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_both"] 20250614_070500.765 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250614_070500.766 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiYjU4OGQ3ZDMtMDhmZS00OWY5LWIxYWYtMGE1N2Q4ZDkzYzM3IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTE0VDA3OjA1OjAwLjc2NVoiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20250614_070500.766 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.766 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "updated", "update_id": "b588d7d3-08fe-49f9-b1af-0a57d8d93c37", "timestamp": "2025-06-14T07:05:00.765Z", "policies_count": 0}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.767 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "updated", "update_id": "b588d7d3-08fe-49f9-b1af-0a57d8d93c37", "timestamp": "2025-06-14T07:05:00.765Z", "policies_count": 0}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.767 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_both"] 20250614_070500.767 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250614_070500.768 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "updated", "update_id": "b588d7d3-08fe-49f9-b1af-0a57d8d93c37", "timestamp": "2025-06-14T07:05:00.765Z", "policies_count": 0}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.768 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_multi', 'monkeyed.Config_both'] 20250614_070500.768 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "updated", "update_id": "b588d7d3-08fe-49f9-b1af-0a57d8d93c37", "timestamp": "2025-06-14T07:05:00.765Z", "policies_count": 0}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20250614_070500.768 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.768 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.787 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.788 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.788 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.788 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogIjU4ZDhiNjBmLTdjNjgtNGYyYS1iMTg4LWI5OWI1ODBmNjdiMyIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwNzowNTowMC43ODhaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwODowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}] 20250614_070500.789 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "58d8b60f-7c68-4f2a-b188-b99b580f67b3", "timestamp": "2025-06-14T07:05:00.788Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.789 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "58d8b60f-7c68-4f2a-b188-b99b580f67b3", "timestamp": "2025-06-14T07:05:00.788Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20250614_070500.789 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250614_070500.789 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_070500.789 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_070500.790 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250614_070500.790 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250614_070500.790 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250614_070500.790 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250614_070500.790 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20250614_070500.790 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20250614_070500.790 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.800 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250614_070500.801 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.801 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"}}] 20250614_070500.801 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.801 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.802 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.802 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.808 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.809 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.809 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.809 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.809 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}} 20250614_070500.809 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20250614_070500.809 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.814 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250614_070500.815 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.815 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.815 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.815 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.816 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.823 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.824 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.825 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.825 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogImU2ZDM2ZTFhLTAyMjMtNDgwZS04Zjk2LTc2ZTA5YTJkNGUyYSIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwNzowNTowMC44MjVaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwODowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}] 20250614_070500.825 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "e6d36e1a-0223-480e-8f96-76e09a2d4e2a", "timestamp": "2025-06-14T07:05:00.825Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.826 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "e6d36e1a-0223-480e-8f96-76e09a2d4e2a", "timestamp": "2025-06-14T07:05:00.825Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20250614_070500.826 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250614_070500.826 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "e6d36e1a-0223-480e-8f96-76e09a2d4e2a", "timestamp": "2025-06-14T07:05:00.825Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_delete"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.826 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"}}] 20250614_070500.827 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.827 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.827 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "e6d36e1a-0223-480e-8f96-76e09a2d4e2a", "timestamp": "2025-06-14T07:05:00.825Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_delete"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.827 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.842 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250614_070500.842 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.842 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250614_070500.842 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.843 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.843 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.843 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.851 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.852 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.852 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.852 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogIjM2YzU1YWRlLWI5YzgtNGQwYS1hZmJhLTM3ZjliYzJlZGVhZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwNzowNTowMC44NTJaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwODowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}] 20250614_070500.853 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "36c55ade-b9c8-4d0a-afba-37f9bc2edead", "timestamp": "2025-06-14T07:05:00.852Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.853 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "36c55ade-b9c8-4d0a-afba-37f9bc2edead", "timestamp": "2025-06-14T07:05:00.852Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20250614_070500.853 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250614_070500.853 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "36c55ade-b9c8-4d0a-afba-37f9bc2edead", "timestamp": "2025-06-14T07:05:00.852Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_delete"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.854 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"}}] 20250614_070500.854 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.854 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.854 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "36c55ade-b9c8-4d0a-afba-37f9bc2edead", "timestamp": "2025-06-14T07:05:00.852Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_delete"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.855 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.870 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.871 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.871 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.871 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogIjdhM2NjYWY1LTZlMDYtNDg4ZC1hMzUyLThjNDRhZWRkYTU2NiIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwNzowNTowMC44NzFaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwODowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}] 20250614_070500.872 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "7a3ccaf5-6e06-488d-a352-8c44aedda566", "timestamp": "2025-06-14T07:05:00.871Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.872 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "7a3ccaf5-6e06-488d-a352-8c44aedda566", "timestamp": "2025-06-14T07:05:00.871Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20250614_070500.872 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250614_070500.873 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250614_070500.873 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250614_070500.873 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "7a3ccaf5-6e06-488d-a352-8c44aedda566", "timestamp": "2025-06-14T07:05:00.871Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.873 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250614_070500.874 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250614_070500.874 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiNmEyYWZiYzEtNDQ3Zi00YTQwLWFiYjItNDM5NmQ1NzZkYzM3IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTE0VDA3OjA1OjAwLjg3NFoiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA4OjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA4OjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250614_070500.875 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.875 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "updated", "update_id": "6a2afbc1-447f-4a40-abb2-4396d576dc37", "timestamp": "2025-06-14T07:05:00.874Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.875 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250614_070500.875 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250614_070500.876 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250614_070500.876 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_070500.876 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_070500.876 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_070500.876 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250614_070500.876 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.892 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.893 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.893 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.893 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogIjM5MjcyZDc1LTAyNjUtNDU3OC1hZjk3LTE2Y2M3Mjc3YTg2NiIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwNzowNTowMC44OTNaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwODowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}] 20250614_070500.894 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "39272d75-0265-4578-af97-16cc7277a866", "timestamp": "2025-06-14T07:05:00.893Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.894 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "39272d75-0265-4578-af97-16cc7277a866", "timestamp": "2025-06-14T07:05:00.893Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20250614_070500.894 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250614_070500.895 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "39272d75-0265-4578-af97-16cc7277a866", "timestamp": "2025-06-14T07:05:00.893Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.895 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_both"] 20250614_070500.896 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250614_070500.896 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiOGIyMTQ5NDktZDkzNS00YjViLWFhZDAtMTg4MjQ0ZmFhYTkzIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTE0VDA3OjA1OjAwLjg5NloiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20250614_070500.896 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.897 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "updated", "update_id": "8b214949-d935-4b5b-aad0-188244faaa93", "timestamp": "2025-06-14T07:05:00.896Z", "policies_count": 0}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.897 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_multi', 'monkeyed.Config_both'] 20250614_070500.897 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "updated", "update_id": "8b214949-d935-4b5b-aad0-188244faaa93", "timestamp": "2025-06-14T07:05:00.896Z", "policies_count": 0}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20250614_070500.897 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.897 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.912 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.913 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.913 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.913 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogImM4ZTY1NjAyLTNmM2MtNGJjNy05MzUwLTYyNjI3OTBkYzhkOSIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwNzowNTowMC45MTNaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwODowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}] 20250614_070500.914 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "c8e65602-3f3c-4bc7-9350-6262790dc8d9", "timestamp": "2025-06-14T07:05:00.913Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.914 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "c8e65602-3f3c-4bc7-9350-6262790dc8d9", "timestamp": "2025-06-14T07:05:00.913Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20250614_070500.914 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250614_070500.914 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250614_070500.914 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250614_070500.915 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "c8e65602-3f3c-4bc7-9350-6262790dc8d9", "timestamp": "2025-06-14T07:05:00.913Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.915 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250614_070500.915 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250614_070500.916 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiMDA0YWIzYmUtN2IwNi00NDhiLTg4YzMtNzgwZmQ0ZjExZmY1IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTE0VDA3OjA1OjAwLjkxNVoiLCAicG9saWNpZXNfY291bnQiOiA0fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA4OjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA4OjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250614_070500.916 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.917 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "updated", "update_id": "004ab3be-7b06-448b-88c3-780fd4f11ff5", "timestamp": "2025-06-14T07:05:00.915Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.917 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250614_070500.917 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250614_070500.917 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250614_070500.917 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_070500.917 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_070500.918 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_070500.918 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250614_070500.918 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.934 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.935 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.935 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.935 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogImQ3MGE5Y2MxLTY5YmItNGU0Mi05OGEzLTk3NzFkNjg0YTNlYyIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwNzowNTowMC45MzVaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwODowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}] 20250614_070500.936 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "d70a9cc1-69bb-4e42-98a3-9771d684a3ec", "timestamp": "2025-06-14T07:05:00.935Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.936 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "d70a9cc1-69bb-4e42-98a3-9771d684a3ec", "timestamp": "2025-06-14T07:05:00.935Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20250614_070500.936 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250614_070500.937 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "d70a9cc1-69bb-4e42-98a3-9771d684a3ec", "timestamp": "2025-06-14T07:05:00.935Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.937 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_both"] 20250614_070500.937 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250614_070500.937 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiZWU5MWE5MWQtMmUwNy00NzRkLWI1OWYtN2Q2N2M4NjlkNTNjIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTE0VDA3OjA1OjAwLjkzN1oiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20250614_070500.938 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.938 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "updated", "update_id": "ee91a91d-2e07-474d-b59f-7d67c869d53c", "timestamp": "2025-06-14T07:05:00.937Z", "policies_count": 0}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.939 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250614_070500.939 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250614_070500.939 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "updated", "update_id": "ee91a91d-2e07-474d-b59f-7d67c869d53c", "timestamp": "2025-06-14T07:05:00.937Z", "policies_count": 0}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.940 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250614_070500.940 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250614_070500.940 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiMDAxYjJmN2EtOGY5Yi00NzNlLTk1MTItNzIyZjc1NjAyNmRhIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTE0VDA3OjA1OjAwLjk0MFoiLCAicG9saWNpZXNfY291bnQiOiAyfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA4OjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA4OjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250614_070500.940 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.941 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "updated", "update_id": "001b2f7a-8f9b-473e-9512-722f756026da", "timestamp": "2025-06-14T07:05:00.940Z", "policies_count": 2}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.941 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250614_070500.941 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250614_070500.941 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250614_070500.942 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.959 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.960 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250614_070500.960 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.960 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250614_070500.960 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.965 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250614_070500.965 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.966 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"}}] 20250614_070500.966 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.966 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.966 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.966 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070500.974 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.975 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070500.975 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.976 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": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidXBkYXRlX2lkIjogIjhhMmU5MDFmLTMxZWQtNDE4Mi1iMTUxLWRiZDEwZjMwZjVlOSIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwNzowNTowMC45NzVaIiwgInBvbGljaWVzX2NvdW50IjogNH0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNzowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwODowNTowMC42MzlaIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDEwOjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}] 20250614_070500.976 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "8a2e901f-31ed-4182-b151-dbd10f30f5e9", "timestamp": "2025-06-14T07:05:00.975Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.976 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "8a2e901f-31ed-4182-b151-dbd10f30f5e9", "timestamp": "2025-06-14T07:05:00.975Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20250614_070500.976 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250614_070500.977 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}, "monkeyed.Config_both": {"policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "gathered", "update_id": "8a2e901f-31ed-4182-b151-dbd10f30f5e9", "timestamp": "2025-06-14T07:05:00.975Z", "policies_count": 4}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.977 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_both"] 20250614_070500.978 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250614_070500.978 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiZjA4MGJkNjYtMzY0OS00OGRkLTg4N2EtNTA3Njk1ZjU1NjVjIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTE0VDA3OjA1OjAwLjk3OFoiLCAicG9saWNpZXNfY291bnQiOiAwfQ=="}}] 20250614_070500.978 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.979 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "updated", "update_id": "f080bd66-3649-48dd-887a-507695f5565c", "timestamp": "2025-06-14T07:05:00.978Z", "policies_count": 0}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.979 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250614_070500.979 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250614_070500.979 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250614_070500.980 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "updated", "update_id": "f080bd66-3649-48dd-887a-507695f5565c", "timestamp": "2025-06-14T07:05:00.978Z", "policies_count": 0}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "db_port": "123", "weather": "snow", "policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.980 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250614_070500.980 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250614_070500.980 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": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ1cGRhdGVfaWQiOiAiNjYxYmUzNGYtYmM4Yi00ODA3LWJhNGItZTExNDY2NTc5MThlIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTE0VDA3OjA1OjAwLjk4MFoiLCAicG9saWNpZXNfY291bnQiOiAyfQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA4OjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA4OjA1OjAwLjYzOVoiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJwcmlvcml0eSI6ICIxIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250614_070500.981 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070500.981 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "dcae_policy_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_node_name_2", "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_node_name", "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_to_ver": "1", "policy_updated_from_ver": "0"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policy_b_node_name", "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-14T10:05:00.639Z", "policy_updated_to_ver": "4", "policy_updated_from_ver": "3"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "property": null, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type_hierarchy": ["dcae.nodes.policies"]}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-14T11:05:00.639Z", "policy_updated_to_ver": "5", "policy_updated_from_ver": "4"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"action": "updated", "update_id": "661be34f-bc8b-4807-ba4b-e1146657918e", "timestamp": "2025-06-14T07:05:00.980Z", "policies_count": 2}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_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_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070500.981 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250614_070500.981 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250614_070500.982 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-14T08:05:00.639Z", "policy_updated_to_ver": "2", "policy_updated_from_ver": "1"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "property": null, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250614_070500.982 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070501.001 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070501.001 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_070501.001 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"} 20250614_070501.001 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070501.001 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "db_port": "123", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}} 20250614_070501.002 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20250614_070501.002 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_070501.006 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_target": null, "instance": {"relationships": [{"target": {"node": {"name": "bad_policy_2_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_3_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "bad_policy_4_node_name", "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "weird_policy_5_node_name", "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name", "properties": {}, "type_hierarchy": ["dcae.nodes.policy"]}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-14T09:05:00.639Z", "policy_updated_to_ver": "3", "policy_updated_from_ver": "2"}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "property": null, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}}}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"target": {"node": {"name": "non_policies_node_name", "type": "non.policy.type", "id": "non_policies_node_name", "properties": {}, "type_hierarchy": ["non.policy.type"]}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type": "cloudify.relationships.depends_on", "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_id": null, "type": "node-instance", "plugin": {"name": "", "package_version": null, "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "execution_id": "test_dcae_policy_exe_id", "task_name": null, "deployment.id": "test_dcae_policy_dpl_id", "node": {"name": "test_ms_name", "type": "ms.nodes.type", "id": "test_ms_name", "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "weather": "snow", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-14T07:05:00.639Z", "policy_updated_from_ver": "0"}}, "type_hierarchy": ["ms.nodes.type"]}, "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250614_070501.006 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) 20250614_070501.006 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) 20250614_070501.006 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear